テンプレート通知

通知メールテンプレート

いちばんシンプルな形。見出し、詳細の一文、任意の引用、リンクで構成します。

差出人
Northwind <[email protected]>
件名
Jonas commented on the launch plan
プレビューテキスト
Jonas commented on the launch plan
「通知」テンプレートのプレビュー
notification.txt
{{headline}}

{{headline}}

{{body}}

{{quoteAuthor}}

{{quoteBody}}

{{actionLabel}} [{{actionUrl}}]

{{footerNote}}

サンプルの値で表示しています。HTMLとプレーンテキストのタブでは、プレースホルダーがそのまま残ります。

概要

送るタイミング

コメント、メンション、ステータスの変更など、見出しとひとつのアクションがあれば足りるものに使える汎用の通知です。引用ブロックは任意で、ボタンのラベルは自由に設定できます。

値

送信ごとに埋める値

必須の値は、送信のたびに必ず渡す必要があります。それ以外は、ここに示したデフォルト値が使われます。

プレースホルダー種類必須デフォルト
{{headline}}テキスト必須なし
{{body}}テキスト必須なし
{{quoteAuthor}}テキスト任意なし
{{quoteBody}}テキスト任意なし
{{actionLabel}}テキスト任意Open
{{actionUrl}}リンク必須なし
{{footerNote}}テキスト任意You are receiving this because of your notification settings.

API

自分のコードから送信

このデザインからテンプレートを一度作成すれば、あとはメッセージごとの値を渡して送信できます。

send-notification.ts
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({  name: 'Notification',  starter: 'notification',  publish: true,}) const sent = await openemail.templates.send(template.slug, {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    headline: 'Jonas commented on the launch plan',    body: 'He left a note on the pricing section and asked for a second pair of eyes before Friday.',    quoteAuthor: 'Jonas Weber',    quoteBody: 'Can we test the annual price before we commit to it?',    actionUrl: 'https://example.com/docs/launch-plan',  },}) console.log(sent.id, sent.status)

通知

ほかの似たテンプレート

「ダイジェスト」テンプレートのプレビュー

ダイジェスト

3つの項目を載せた定期的なサマリー。最後にリンクをひとつ置きます。

「予約確定」テンプレートのプレビュー

予約確定

タイムゾーンを明記し、日時変更のリンクを添えた予約の確認。

「フィードバックのお願い」テンプレートのプレビュー

フィードバックのお願い

特定の注文や会話ひとつについて、一度だけ尋ねます。

テンプレートから始める

デザインを選んで、自由に変えて、
自分のコードから送信。

どのテンプレートも、エディターでは移動、スタイル変更、削除ができるブロックとして開き、APIからは値を埋めて送信できます。

受信トレイを、
あなたの思いどおりに。

企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。

OpenEmail

企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。

© 2026 OpenEmail. 無断転載を禁じます。