Send an email (governed)
mailbuttons_send_emailSend or reply from a scoped inbox, subject to send policy. Sandbox tokens can never deliver to external recipients — such sends return draft_pending_approval; disallowed recipients return blocked with the matched rule. Both are EXPECTED governed outcomes, not errors. Requires the send_internal capability.
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": {
"inbox_id": "<inbox_id>",
"to": "<to>",
"subject": "<subject>"
},
"name": "mailbuttons_send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient addresses. External recipients on a sandbox token become drafts. | |
| html | No | Optional HTML body. | |
| mode | No | "send" (default) attempts delivery; "draft" always parks for approval. | |
| text | No | Plain-text body. | |
| headers | No | Only List-Unsubscribe and List-Unsubscribe-Post. | |
| subject | Yes | Email subject. | |
| inbox_id | Yes | Sending inbox (mailbox) id. Must be in scope for the token. | |
| thread_id | No | If set, send as a threaded reply rather than a fresh message. |