Send or draft a message
mail_sendWrite and deliver email messages using Thunderbird. Choose to save as draft, queue to outbox, or send directly, with support for attachments and threaded replies.
Instructions
Write a message. Saves a reviewable draft unless mode="send".
mode="later" queues it in the Outbox instead. Recipients are one address per
list entry. attachments are paths to files on this machine. A draft still
asks for confirmation, because the identical call with mode="send" would
deliver it. Set reply_to_message_id to thread the message under an existing
one — but mail_reply is usually what you want, since it also quotes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| mode | No | ||
| confirm | No | ||
| is_html | No | ||
| subject | Yes | ||
| priority | No | ||
| attachments | No | ||
| identity_id | No | ||
| dry_run_only | No | ||
| custom_headers | No | ||
| return_receipt | No | ||
| delivery_format | No | ||
| reply_to_message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||