create-draft
Create a draft email in Apple Mail with recipients, subject, body, and optional attachments for user review before sending.
Instructions
Use when: composing an email the user should review in Mail.app before sending — the safe default for any new message (to/cc/bcc are arrays, optional attachments). Returns: a confirmation that the draft was created, with recipients and attachment count. Do not use when: the user has already confirmed they want it sent now (use send-email). Safety: low risk — creates a draft only and sends nothing; the user must open Mail.app and send it themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients | |
| to | Yes | ||
| bcc | No | BCC recipients | |
| body | Yes | ||
| account | No | Account to create draft in | |
| subject | Yes | ||
| attachments | No | Files to attach: absolute paths (e.g. '/Users/me/report.pdf') and/or inline {filename, contentBase64} objects up to 25 MiB decoded each. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| recipients | No | ||
| attachmentCount | No |