mail_create_draft
Create a new draft email in your Mail.app account. Returns a compose session ID for later sending or updating the draft.
Instructions
Create a new draft email (saved to the account's Drafts mailbox). Returns a composeSessionId usable with mail_send_message, mail_update_draft — valid only until Mail.app next restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| content | No | Plaintext body. | |
| subject | No | ||
| fromAddress | Yes | REQUIRED — One of the account's configured email addresses (see mail_list_accounts' emailAddresses) that determines which account this is sent/saved from. On a multi-account setup, omitting this silently falls back to Mail.app's global 'send new messages from' preference, which may not be the account you intend — confirmed via testing this can default to an unexpected account. | |
| attachmentPaths | No | Local file paths to attach. Attachment insertion is unverified on this system — see README known limitations. |