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.
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. | |
| 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. |