Draft mail
mail_draftCreates an Outlook email draft for new messages, replies, reply-alls, or forwards, returns a preview for review, and leaves sending to a separate approval step.
Instructions
Create a draft (NOT sent).
Modes: new (needs to + subject) | reply | reply_all | forward (need mail_ref; forward also needs to). For replies, to/cc are added to the original recipients. Unknown names fail and keep nothing. Returns a preview; send with mail_send after the user approves.
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": {
"mode": "<mode>",
"body": "<body>"
},
"name": "mail_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Names or emails, e.g. ['Jana Nováková', 'x@example.com']. | |
| to | No | Names or emails, e.g. ['Jana Nováková', 'x@example.com']. | |
| bcc | No | Names or emails, e.g. ['Jana Nováková', 'x@example.com']. | |
| body | Yes | Your text only; signature and quoted original are added automatically. | |
| mode | Yes | new | reply | reply_all | forward. | |
| subject | No | Required for 'new'; otherwise defaults to 'RE: …' / 'FW: …'. | |
| mail_ref | No | The original mail; required for reply, reply_all and forward. | |
| attachments | No | File paths (Windows or /mnt/c/...). | |
| body_format | No | markdown (default; **bold**, lists, links, tables) | html | text. The tool adds the user's Outlook font and signature. | markdown |
| from_mailbox | No | Send from another account or on behalf of a shared mailbox. Replies to mail in another mailbox use that mailbox automatically. |