{{variable}} syntax to inject dynamic data.
Create a template
{{variableName}}. Substitution happens on the AWS side at send time.
Send with a template
Bulk send
Send to up to 50 recipients in a single API call, each with their own template data.SES bulk template sends are limited to 50 destinations per call. For larger lists, split into multiple
sendBulkTemplate calls.Template CRUD
templates.create() parameters
Unique template name used to reference the template when sending.
Subject line. Supports
{{variable}} substitution.HTML body. Supports
{{variable}} substitution. Provide html or text (or both).Plain text body. Supports
{{variable}} substitution.sendTemplate() parameters
Sender email address. Must be a SES-verified domain or address.
Recipient email address or array of addresses.
Name of the template to use (must already exist via
templates.create()).Key-value pairs used to replace
{{variable}} placeholders in the template.Reply-to email address.
CC recipients.
BCC recipients.
sendBulkTemplate() parameters
Sender email address. Must be a SES-verified domain or address.
Name of the template to use.
Array of up to 50 recipient objects.
templates.update() parameters
Name of the template to update.
Updated subject line.
Updated HTML body.
Updated plain text body.
