
ウェルカム
短いあいさつ、始めるためのボタンひとつ、その下にテキストで記したリンクを備えた、登録時のウェルカムメール。
対象のアカウントを明記し、まだ何も変わっていないとはっきり伝えるリセットメール。

Reset your {{productName}} password
Reset your password
Someone asked to reset the password for {{email}}. Use the button below to choose a new one. It expires in {{expiryMinutes}} minutes.
Choose a new password [{{actionUrl}}]
Or paste this into your browser: {{actionUrl}}
If this was not you, your password has not changed and no action is needed. The link above is the only way to change it, and only you have it.
{{footerNote}}サンプルの値で表示しています。HTMLとプレーンテキストのタブでは、プレースホルダーがそのまま残ります。
概要
パスワードリセットメールのカード版です。リクエストの対象となったアドレスを示し、ボタンと貼り付け用のリンクを添え、心当たりのない人にはパスワードは変わっていないと伝えます。
値
必須の値は、送信のたびに必ず渡す必要があります。それ以外は、ここに示したデフォルト値が使われます。
| プレースホルダー | 種類 | 必須 | デフォルト |
|---|---|---|---|
{{productName}} | テキスト | 必須 | なし |
{{email}} | テキスト | 必須 | なし |
{{actionUrl}} | リンク | 必須 | なし |
{{expiryMinutes}} | テキスト | 任意 | 60 |
{{footerNote}} | テキスト | 任意 | You are receiving this because a password reset was requested. |
API
このデザインからテンプレートを一度作成すれば、あとはメッセージごとの値を渡して送信できます。
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({ name: 'Password reset card', starter: 'reset-password', publish: true,}) const sent = await openemail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { productName: 'Northwind', email: '[email protected]', actionUrl: 'https://example.com/reset/8f2c', },}) console.log(sent.id, sent.status)アカウントとアクセス

短いあいさつ、始めるためのボタンひとつ、その下にテキストで記したリンクを備えた、登録時のウェルカムメール。

カードに収めたコンパクトなウェルカムメール。製品に戻るボタンをひとつ添えています。

別の画面からでも読めるよう、大きく表示したワンタイムコード。

パスワード不要のサインイン。ボタンひとつと、テキストで記したリンクを添えています。

ボタンひとつ、貼り付け用のリンク、はっきりした有効期限を備えたリセットメール。

招待した人、ワークスペース、用意されたロールを明記した招待メール。

日時、デバイス、場所を示すサインインの通知。本人が自分の操作かどうかを確かめられます。
テンプレートから始める
どのテンプレートも、エディターでは移動、スタイル変更、削除ができるブロックとして開き、APIからは値を埋めて送信できます。
企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。