Send a single transactional email or a batch of them in one request, with attachments, custom headers and tags.
Send an email
Headers
x-lettermint-tokenProject API token for the project sending this email.
Idempotency-KeySend an email › Request Body
fromtosubjectrouteccbccreply_toscheduled_atISO 8601 or English delivery time. A time without a timezone uses UTC.
Custom headers to include in the email. To preserve a submitted RFC Message-ID, include both Message-ID and X-LM-Preserve-Message-ID with a string value of true or 1. Header names and control values are case-insensitive; false or 0 retains replacement.
Metadata to track with the email (not added as email headers).
tagTag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).
Reusable exact-match tags. Names must be unique and are case-sensitive.
settingsPer-email settings that override the selected route settings for this email only.
htmltextSend an email › Responses
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: message_id, status, scheduled_at | |
| type = object · requires: message_id, status |
message_idstatusscheduled_atSend multiple emails in a batch
Send up to 500 emails in a single request. Each email in the batch supports the same parameters as the single send endpoint.
Headers
x-lettermint-tokenIdempotency-KeySend multiple emails in a batch › Request Body
fromtosubjectrouteccbccreply_toscheduled_atCustom headers to include in the email. To preserve a submitted RFC Message-ID, include both Message-ID and X-LM-Preserve-Message-ID with a string value of true or 1. Header names and control values are case-insensitive; false or 0 retains replacement.
metadataMetadata to track with the email (not added as email headers).
tagTag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).
Reusable exact-match tags. Names must be unique and are case-sensitive.
settingsPer-email settings that override the selected route settings for this email only.
htmltextSend multiple emails in a batch › Responses
Array of message IDs and their status
message_idstatusscheduled_at