Send an email
mailbox_send_messageSend email through mailbox.org SMTP and save a copy to Sent. Supports aliases, cc/bcc, HTML, local attachments, and PGP encryption or signing.
Instructions
Send a new email through mailbox.org SMTP and save a copy in Sent. Supports aliases as sender (from), cc, bcc, HTML, local file attachments, and PGP encrypt/sign. For replies use mailbox_reply so threading headers are set.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mailbox_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Recipients: "a@x.org" or ["Name <a@x.org>", "b@y.org"] | |
| bcc | No | ||
| body | No | Plain-text body | |
| from | No | Sender address, e.g. one of your aliases. Default the account address. | |
| html | No | Optional HTML body (plain body is still sent as the text alternative) | |
| sign | No | PGP-sign with your private key (needs MAILBOX_PGP_PRIVATE_KEY_FILE) | |
| encrypt | No | PGP-encrypt (PGP/MIME) for every recipient. Keys come from the local keyring or the recipient's Web Key Directory; fails rather than sending in clear if a key is missing. | |
| subject | No | ||
| reply_to | No | ||
| keyserver | No | Also look up missing keys on keys.openpgp.org (shares the recipient address with that service) | |
| attachments | No | Local file paths to attach |