send_email
Compose and send a Proton Mail email after user approval, with HTML and plain-text body, CC/BCC, sender selection, and optional threaded replies.
Instructions
Send an email (HTML + plain-text alternative) from the user's Proton address. IRREVERSIBLE.
Only call this after showing the user the exact sender, recipients, subject and body and receiving their explicit approval in chat. from_address picks which of the user's addresses sends it (see list_sender_addresses). If omitted, new emails go out from the default address and replies from the address the original was sent to. The body is light Markdown, rendered to HTML: blank line = new paragraph, single newline = line break, lines starting with "- " = bullet list, "1. " = numbered list, bold, italic, text. Don't use headings, tables or raw HTML. Write the signature as the last paragraph. to/cc/bcc accept comma-separated addresses ("Name a@b.c, d@e.f"). To reply, pass reply_to_uid (and reply_folder) of the original email: the reply is threaded with it. Write the subject yourself (e.g. "Re: "). Replies quote the original message below the body, like Proton does ("On , wrote:" + quoted text); don't paste it into body yourself. Pass include_original=False to leave it out. A copy lands in the Sent folder automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| subject | Yes | ||
| from_address | No | ||
| reply_folder | No | INBOX | |
| reply_to_uid | No | ||
| include_original | No |