Compose Mail
sendMailCompose a new email with recipients, subject, body, and attachments, opening a review window by default; optionally send immediately or perform a dry-run check.
Instructions
Write a new email; a reply or forward goes through replyToMessage / forwardMessage, an unsent message through saveDraft (no draft mode here). By default it opens a filled-in compose window for the user to review and send: the result (Compose window opened) does not mean sent. skipReview sends at once, only if the user turned off the default-on skipReview block; dryRun only checks.
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": {
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "sendMail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients (comma-separated) | |
| to | Yes | Recipient email address | |
| bcc | No | BCC recipients (comma-separated) | |
| body | Yes | Email body text | |
| from | No | Sender identity (email address or identity ID from listAccounts) | |
| dryRun | No | Check only: report sender, recipients (with automatic Cc/Bcc), attachments and size, or the error; sends nothing | |
| isHtml | No | The body is HTML (default: false) | |
| subject | Yes | Email subject line | |
| skipReview | No | Send without the compose window; refused while the skipReview block is on (default: false) | |
| attachments | No | Attachments: file paths (strings) or inline objects ({name, contentType, base64}) |