read_email
Fetch a single email by ID from a specified account, returning full body and recipients; HTML is converted to Markdown by default to reduce context tokens.
Instructions
Fetch a single email with full body and recipients by id. Body is returned as body with bodyFormat indicating the format. Default format is 'markdown' — HTML is automatically converted to save context tokens. The response may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.
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>",
"id": "<id>"
},
"name": "read_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| format | No | Output body format. 'markdown' converts HTML to Markdown (default), 'html' returns the raw HTML. Plain-text-only messages retain their original body. | markdown |
| account | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| id | Yes | ||
| to | No | ||
| bcc | No | ||
| body | Yes | ||
| from | No | ||
| folder | No | ||
| isRead | No | ||
| webUrl | No | ||
| preview | No | ||
| subject | Yes | ||
| bodyFormat | Yes | ||
| receivedAt | No | ||
| attachments | No | ||
| hasAttachments | No | ||
| webUrlUnavailableReason | No |