
発送完了
注文番号、配送業者、お届け予定日を詳細表にまとめた発送のお知らせ。
請求額、支払いの内容、使用したカード、請求書へのリンクを載せた領収書。

Receipt for {{amount}}: {{description}}
{{companyName}} · Receipt
Payment received
Hi {{firstName}}, we charged your card and your account is paid up. Nothing else is needed from you.
Amount charged
{{amount}}
Description
{{description}}
Charged on
{{chargedOn}}
Payment method
Card ending {{last4}}
View invoice [{{invoiceUrl}}]
The invoice link opens a full breakdown you can download for your records.
If you do not recognise this charge, tell us and we will look into it the same day.
Contact billing support [{{supportUrl}}]
{{companyName}} · {{companyAddress}}サンプルの値で表示しています。HTMLとプレーンテキストのタブでは、プレースホルダーがそのまま残ります。
概要
決済が成功したあとに送ります。金額、内容、日付、カードを表にまとめ、ボタンから請求書の全体を開けます。フッターには、身に覚えのない請求だと感じた人のための問い合わせ先を載せます。
値
必須の値は、送信のたびに必ず渡す必要があります。それ以外は、ここに示したデフォルト値が使われます。
| プレースホルダー | 種類 | 必須 | デフォルト |
|---|---|---|---|
{{amount}} | テキスト | 必須 | なし |
{{invoiceUrl}} | リンク | 必須 | なし |
{{description}} | テキスト | 任意 | Pro plan, monthly |
{{chargedOn}} | テキスト | 任意 | Today |
{{last4}} | テキスト | 任意 | 0000 |
{{firstName}} | テキスト | 任意 | there |
{{companyName}} | テキスト | 任意 | OpenEmail |
{{companyAddress}} | テキスト | 任意 | 548 Market Street, San Francisco, CA 94104 |
{{supportUrl}} | リンク | 任意 | mailto:[email protected] |
API
このデザインからテンプレートを一度作成すれば、あとはメッセージごとの値を渡して送信できます。
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({ name: 'Receipt', starter: 'invoice-receipt', publish: true,}) const sent = await openemail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { firstName: 'Maya', amount: '£49.00', chargedOn: '1 October 2026', last4: '4242', invoiceUrl: 'https://example.com/invoices/NW-2026-0412', }, slots: { companyName: 'Northwind', companyAddress: 'Northwind Ltd, 42 Harbour Lane, Bristol BS1 4XE', supportUrl: 'mailto:[email protected]', },}) console.log(sent.id, sent.status)注文と請求
テンプレートから始める
どのテンプレートも、エディターでは移動、スタイル変更、削除ができるブロックとして開き、APIからは値を埋めて送信できます。
企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。