Emails
Send transactional email and inspect delivery status and events.
Send an email
Sends one email. The `from` address must be on a domain you have verified (a `403` names the domain otherwise). Up to 50 recipients across `to`, `cc` and `bcc`; up to 50 attachments as base64 `content` (attachments by `path` URL are not supported yet), with the whole message under 40 MB. Pass `scheduled_at` to send later (cancel or reschedule until then), `template` to render a published template with `variables`, and `tags` to filter events and metrics.
List emails
List emails
Send up to 100 emails in one call
Sends 1–100 emails in one request. Each item takes the fields of `POST /emails` except `attachments` and `scheduled_at`, which batch sends refuse. The response lists one id per email, in order.
Retrieve an email
Returns the email with its current status (`queued`, `scheduled`, `sent`, `delivered`, `delivery_delayed`, `bounced`, `complained`, `canceled` or `failed`) and its recipients.
Reschedule a scheduled email
Moves a scheduled email to another time. Only emails that are still scheduled can change.
Delivery events and per-recipient status
Every delivery event of the email (sent, delivered, delayed, bounced, complained, opened, clicked, failed) and the status of each recipient.
Cancel a scheduled email
Cancels an email that was sent with `scheduled_at` and has not gone out yet.