send_message
Compose and send an email in one step to recipients on the server's fixed allowlist; any off-list address is refused. Draft the message instead to reach anyone else.
Instructions
Compose and SEND an email in one step. Same input contract as create_draft. SERVER-ENFORCED LIMIT: this server only delivers to addresses on a fixed allowlist held outside the repo, and it checks the final message bytes immediately before handing them to Gmail. A recipient that is not on that list is refused and no send request is made — the refusal comes from the server, not from the assistant's judgment, and no phrasing of the request, tool argument, or additional context can lift it. There is also no tool for editing the allowlist. To reach anyone else, use create_draft and let the owner send it from Gmail.
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>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC list. Also checked against the send allowlist. | |
| to | Yes | Recipient email address(es). Must be on the server's send allowlist or the send is refused. | |
| bcc | No | Optional BCC list. Also checked against the send allowlist. | |
| body | Yes | Email body as plain text. Blank lines separate paragraphs; a single newline is a line break; lines starting with "-" or "1." become bullet/numbered lists. Do NOT pass HTML — matching text/plain and text/html parts are generated from this one string, and "<", ">" and "&" are escaped so they render literally. | |
| account | Yes | Account id ("personal", "tamu"). | |
| subject | Yes | Email subject. | |
| thread_id | No | Optional Gmail thread ID. When set, the message is sent into that thread. | |
| references | No | Optional RFC 2822 References header value for threading. | |
| attachments | No | Optional local file attachments. | |
| in_reply_to | No | Optional RFC 2822 Message-ID of the email being replied to. Sets the In-Reply-To header for proper threading. |