create_draft
Save a plain-text email draft in Apple Mail's Drafts folder, either as a new message or as a threaded reply with quoted original, so you can review it before sending.
Instructions
Create a plain-text draft in Apple Mail's Drafts folder.
Two modes:
New message — pass
toandsubject.bodyis the message text.Reply — pass
reply_to={"account":..., "mailbox":..., "id":...}(use the values returned bysearch_messages).subjectandtobecome optional and are auto-set from the original.bodyis your reply text; the original message is automatically quoted below it. Threading headers (In-Reply-To/References) are set so the recipient's mail client groups this with the original conversation.cc/bccare additive.
Args:
account: Sender account name (from list_accounts).
body: Plain-text reply/message text. May be empty.
to: Recipient addresses. Required for new messages, optional for replies.
subject: Subject line. Required for new messages, optional for replies
(defaults to "Re: "). Pass an explicit value to override.
cc, bcc: Optional CC/BCC addresses.
reply_to: If set, creates a reply. {account, mailbox, id} of the original
message. account here is the account where the original was
received, which may differ from the sending account.
reply_all: If true and replying, replies to all recipients. Default false.
visible: If true, Mail brings the compose window forward; if false the
draft is saved silently. Defaults to APPLE_MAIL_MCP_DRAFT_VISIBLE.
Returns metadata about the created draft. Does NOT return a persisted Drafts-mailbox id — Mail commits drafts asynchronously. Drafts are reviewed in Mail.app.
HTML body rendering is v1.5.
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": {
"account": "<account>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| body | Yes | ||
| account | Yes | ||
| subject | No | ||
| visible | No | ||
| reply_to | No | ||
| reply_all | No |