create-draft
Compose a draft email in Apple Mail for user review before sending. Supports recipients, subject, body, CC, BCC, and attachments.
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 for content not on disk. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| recipients | No | ||
| attachmentCount | No |