
発送完了
注文番号、配送業者、お届け予定日を詳細表にまとめた発送のお知らせ。
最終日に実際に何が起きるかを伝える、トライアルのリマインダー。

Your {{productName}} trial ends {{endDate}}
Your trial ends {{endDate}}
You have {{daysLeft}} days left on your {{productName}} trial.
{{whatHappensNext}}
Choose a plan [{{actionUrl}}]
Not the right time? Doing nothing is a valid answer. You can come back whenever.
{{footerNote}}サンプルの値で表示しています。HTMLとプレーンテキストのタブでは、プレースホルダーがそのまま残ります。
概要
トライアル終了の数日前に送ります。終了日と残り日数を示し、その後アカウントがどうなるかを一文で説明し、何もしないという選択も問題ないと伝えます。
値
必須の値は、送信のたびに必ず渡す必要があります。それ以外は、ここに示したデフォルト値が使われます。
| プレースホルダー | 種類 | 必須 | デフォルト |
|---|---|---|---|
{{productName}} | テキスト | 必須 | なし |
{{endDate}} | テキスト | 必須 | なし |
{{daysLeft}} | テキスト | 任意 | 3 |
{{whatHappensNext}} | テキスト | 任意 | Your account stays open and your data is kept. You just lose the paid features until you choose a plan. |
{{actionUrl}} | リンク | 必須 | なし |
{{footerNote}} | テキスト | 任意 | You are receiving this because you started a trial. |
API
このデザインからテンプレートを一度作成すれば、あとはメッセージごとの値を渡して送信できます。
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({ name: 'Trial ending', starter: 'trial-ending', publish: true,}) const sent = await openemail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { productName: 'Northwind', endDate: '4 October', actionUrl: 'https://example.com/billing', },}) console.log(sent.id, sent.status)注文と請求
テンプレートから始める
どのテンプレートも、エディターでは移動、スタイル変更、削除ができるブロックとして開き、APIからは値を埋めて送信できます。
企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。