Send Email
send-emailSend a transactional email such as a receipt, order update, or password reset—not marketing—by providing HTML/text or a template, then confirm recipients before dispatch.
Instructions
Send a transactional email: a one-off message such as a receipt, an order update or a password reset, not a marketing campaign. Give the content as html and/or text with a subject, or as a template_id from list-templates. Up to 50 recipients across to, cc and bcc; one malformed address rejects the whole request. This reaches real people, and a message that has gone out cannot be recalled. Before calling it, show the user what will go out and to whom, and wait for their go-ahead. See what was sent with list-emails.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"from_name": "<from_name>",
"to": "<to>"
},
"name": "send-email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| from | Yes | Sender address at one of the organization's `verified` domains, from list-email-domains. | |
| html | No | Cannot be combined with `template_id`. | |
| text | No | Plain-text body; alone or alongside `html`. | |
| subject | No | Required with `html` or `text`; with `template_id` it defaults to the template subject. | |
| category | No | Label for grouping in analytics, e.g. `order_update` or `otp`. | |
| reply_to | No | ||
| from_name | Yes | Sender display name. | |
| variables | No | Values for `{{key}}` placeholders in the content. | |
| attachments | No | Up to 10 files, 30 MB in total once decoded. | |
| template_id | No | Template to send, from list-templates. Cannot be combined with `html` or `text`. |