send_email
Send transactional emails or schedule them, automatically skipping suppressed and topic-opted-out recipients. Returns the email ID for tracking.
Instructions
Send a transactional email (or schedule it with scheduled_at). Suppressed and topic-opted-out recipients are skipped automatically. Returns the email id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | One address, or a list of up to 50 | |
| to | Yes | One address, or a list of up to 50 | |
| bcc | No | One address, or a list of up to 50 | |
| from | Yes | Sender: "Name <user@domain>" or bare address; the domain must be verified for the team | |
| html | No | HTML body; at least one of html/text is required | |
| tags | No | ||
| text | No | Plain-text body; at least one of html/text is required | |
| headers | No | ||
| subject | Yes | ||
| reply_to | No | One address, or a list of up to 50 | |
| topic_id | No | Topic id: recipients opted out of the topic are skipped | |
| attachments | No | ||
| scheduled_at | No | ISO 8601 with offset, or relative like "in 2 hours"; max 30 days ahead | |
| idempotency_key | No | Retry key sent as the HTTP Idempotency-Key header, not an email header. Scoped to the team for 24 hours: reuse with the same payload to replay the original ids; a different payload or concurrent request returns 409. Use one key per send or batch. |