Send email
send_messageSends an email via SMTP, optionally with attachments (existing mailbox attachments, uploaded files, inline content). Only allowed when the owner enabled sending for the account AND every recipient matches send_allowlist. Otherwise use create_draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | Recipient addresses | |
| bcc | No | ||
| html | No | Optional HTML body (scripts are stripped); when absent it is rendered from text | |
| text | Yes | Plain-text body | |
| quote | No | Quote the original under the reply (default true when replying) | |
| account | Yes | Account id from list_accounts | |
| subject | Yes | ||
| attachments | No | Files to attach: existing mailbox attachments, uploaded files (folder "mailmcp-uploads"), inline content, or local paths | |
| in_reply_to_uid | No | uid of the message being answered: sets In-Reply-To/References, keeps the Re: subject and quotes the original. Prefer reply_draft / reply_send. | |
| in_reply_to_folder | No | Folder/label path. Defaults to All Mail on Gmail, INBOX elsewhere. |