Tool
mail_email_send
Send a single email.
Behavior
- Fails when
-
- the sending domain is not verified
- neither an inline subject/body nor a template is provided
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| from | string | • | Sender, e.g. "Name <you@your-domain.com>". The domain must be verified. |
| to | string | array | — | Primary recipient(s). |
| subject | string | — | Subject line (required for inline sends). |
| html | string | — | HTML body. |
| template | object | — | Send by reference to a published template: { id, variables }. |
| scheduled_at | string | — | ISO-8601 instant to send at (future, within 30 days). Omit to send now. |
Try it
Send a welcome email from hello@example.com to jane@acme.com.