sendMessage
Sends an email to specified recipients, supporting CC, BCC, subject, body, attachments, and thread association.
Instructions
Send an email message to specified recipients. Note the mechanics of the raw parameter.
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": "sendMessage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | List of CC recipient email addresses | |
| to | No | List of recipient email addresses. Each entry must be either 'addr@example.com' or 'Display Name <addr@example.com>'; non-ASCII display names are RFC 2047 encoded automatically. Other RFC 5322 forms (groups, comments, a quoted display name containing a '<') are sent through unencoded. | |
| bcc | No | List of BCC recipient email addresses | |
| raw | No | The entire email message in base64url encoded RFC 2822 format, ignores to, cc, bcc, subject, body if provided | |
| body | No | The body of the email. Supports plain text or HTML (auto-detected). Use HTML tags like <p>, <br>, <b> for formatted emails. | |
| subject | No | The subject of the email | |
| threadId | No | The thread ID to associate this message with | |
| attachments | No | File attachments to include | |
| includeBodyHtml | No | Whether to include the parsed HTML in the return for each body |