Compose Email
compose_emailSend a new email from a chosen Apple Mail account, with options for CC/BCC, attachments, HTML, or saving as a draft or opening for review.
Instructions
Compose and send a new email from a specific account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC recipients, comma-separated for multiple | |
| to | Yes | Recipient email address(es), comma-separated for multiple | |
| bcc | No | Optional BCC recipients, comma-separated for multiple | |
| body | Yes | Email body text (used as plain-text fallback when body_html is provided) | |
| mode | No | Delivery mode — "send" (send immediately, default), "draft" (save silently to Drafts), or "open" (open compose window for review before sending) | send |
| account | Yes | Account name to send from (e.g., "Gmail", "Work", "Personal") | |
| subject | Yes | Email subject line | |
| body_html | No | Optional HTML body for rich formatting (bold, headings, links, colors). When provided, the email is sent as HTML. The plain 'body' field is still required as fallback text. | |
| attachments | No | Optional file paths to attach, comma-separated for multiple (e.g., "/path/to/file1.png,/path/to/file2.pdf") | |
| from_address | No | Optional sender address to use for this message. Must be one of the account's configured email addresses. When omitted, Mail uses the account's default "Send new messages from" setting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |