Send Email
send_emailUse this when the user wants to send an email from an account configured in the Mac's Apple Mail. Composes and sends via Mail.app; supports plain text or HTML body. For sending from a Microsoft 365 account NOT added to Mail.app, use m365_send_email. Pass from to send from a specific configured Mail.app account instead of the default sender. Pass attachments as a comma-separated list of absolute file paths to attach files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC address(es), comma-separated. | |
| to | Yes | Recipient address(es), comma-separated for multiple. | |
| bcc | No | BCC address(es), comma-separated. | |
| body | No | Plain-text body. Use this OR html_body; if both are given, html_body wins. | |
| from | No | Sender address — on a multi-account Mac, selects which configured Mail.app account sends. Omit to use Mail's default account. | |
| confirm | No | Safety gate: the call only PREVIEWS (nothing is sent) unless confirm:true. Set true to actually send. | false |
| subject | Yes | Subject line. | |
| html_body | No | HTML body. Takes precedence over `body` when both are set. | |
| attachments | No | Files to attach, as comma-separated absolute paths (e.g. a PDF). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| sent | No | ||
| subject | No |