mail_send_message
Send an email from Mail.app by either sending a saved draft or composing a new message with recipient, subject, and body. Requires user confirmation.
Instructions
[IRREVERSIBLE] Send an email. Either pass composeSessionId to send an existing draft from this Mail.app session, or pass to/subject/content directly to compose and send in one call. Requires confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| confirm | No | ||
| content | No | Plaintext body. | |
| subject | No | ||
| fromAddress | No | 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. | |
| composeSessionId | No |