get_email_by_id
Retrieve a specific email by its ID, including full body and headers. Supports text, HTML, or raw body format; optionally exclude body for headers/metadata only.
Instructions
Get a specific email by its ID with full body and headers
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": {
"emailId": "<emailId>"
},
"name": "get_email_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Body format: text (default), html, or raw (both) | text |
| emailId | Yes | Email ID (format: folder:uid) | |
| includeBody | No | Include email body (set false for headers/metadata only) |