send_email
Send Markdown-only emails from a connected account, with threaded replies or forwards, automatic signatures, and attachments.
Instructions
Send an email from the given account using Markdown only; raw HTML is not supported. Use a blank line between paragraphs. Applies account style preferences and appends Gmail's signature first, falling back to the local signature only when Gmail returns none, when include_signature is true. Do not also include a signature in the body. Fails if no signature exists or lookup fails. When inReplyTo is set, sends as a reply (or reply-all) which preserves thread history and conversation threading. When forwardMessageId is set, sends as a forward of the specified message, preserving the original content. inReplyTo and forwardMessageId are mutually exclusive. Returns the resulting message's shareable webUrl when available; recipients must have access to the mailbox to open it.
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": {
"account": "<account>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>",
"include_signature": "<include_signature>"
},
"name": "send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | Email content in Markdown only; raw HTML is not supported. Use a blank line between paragraphs. | |
| account | Yes | ||
| subject | Yes | ||
| replyAll | No | When true and `inReplyTo` is set, reply to all recipients instead of just the sender. | |
| inReplyTo | No | Message ID to reply to. When set, sends as a threaded reply which includes the quoted thread history automatically. Set to `false` for a new email (not a reply). | |
| attachments | No | File attachments to include. The server reads the files from disk and base64-encodes them automatically. | |
| forwardMessageId | No | Message ID to forward. When set, sends as a forward of the specified message, preserving the original content. Mutually exclusive with `inReplyTo`. | |
| include_signature | Yes | Whether to append the HTML signature: Gmail first, local fallback only when Gmail returns none; other providers use local. If true, don't include a signature in the body param to avoid double signature. Returns an error if true but no signature is configured for this account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sent | Yes | ||
| webUrl | No | ||
| webUrlUnavailableReason | No |