send_email
Send transactional emails like receipts and OTPs. Provide HTML or plain text; from_email must be from a verified domain.
Instructions
Send a transactional email through Send16. Provide html, text, or both (text-only is fine for OTPs/receipts/alerts). from_email must belong to a domain that is verified in the workspace — call whoami for the account and list_domains to see which senders are allowed; a send from an unverified domain returns a clear error, not a silent failure. For a zero-setup first send, use from_email onboarding@send16.com — the sandbox sender delivers with no DNS, but only to your own account email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address or array of addresses (max 50) | |
| html | No | HTML body content | |
| text | No | Plain text body content | |
| apiKey | No | Send16 API key (overrides SEND16_API_KEY env var) | |
| subject | Yes | Email subject line | |
| reply_to | No | Reply-to email address | |
| template | No | Transactional template slug to use instead of inline content | |
| from_name | No | Sender display name (e.g. "Acme Co") | |
| variables | No | Template variables for merge tags | |
| from_email | No | Sender email address (must be from a verified domain) |