Read a message
get_messageRetrieve a fully parsed email by ID from search results, including headers, decoded text body (truncated if large), and attachment details—names, types, and sizes—without returning attachment contents.
Instructions
Fully parse one message by its id (from search_messages): headers, decoded text body (truncated if huge), and attachment names/types/sizes. Attachment contents are never returned.
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": {
"path": "<path>",
"id": "<id>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message id from search results | |
| path | Yes | Path to an .mbox file (e.g. a Google Takeout export) or a directory of .eml files |