Create email draft
mail_draft_createDraft a new email or compose a reply, reply-all, or forward with recipients, subject, HTML body, and local attachments, without sending it.
Instructions
Use this to prepare a new message, reply, reply-all, or forward with To, CC, BCC, optional HTML, and allowlisted local attachments. It does not send email.
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": {
"accountId": "<accountId>",
"mode": "<mode>"
},
"name": "mail_draft_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| mode | Yes | ||
| subject | No | ||
| bodyHtml | No | ||
| bodyText | No | ||
| accountId | Yes | ||
| attachments | No | ||
| quoteOriginal | No | ||
| sourceMessageId | No | ||
| includeOriginalAttachments | No |