mail_read
Read decoded email text from search or recent file paths; multipart, quoted-printable, and base64 content is decoded and HTML stripped. Long messages return in pages; pass the offset to continue.
Instructions
Read an email's decoded text (multipart, quoted-printable and base64 decoded; HTML stripped). Use the file_path from mail_search or mail_recent results. A long message is returned in pages of 20,000 characters by default; the reply says Complete message, or INCOMPLETE with the offset to pass next. Never treat an INCOMPLETE reply as the whole email.
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": {
"file_path": "<file_path>"
},
"name": "mail_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character to start at (default 0); use the offset an INCOMPLETE reply names | |
| file_path | Yes | File path from mail_search results | |
| max_chars | No | Page size in characters (default 20000, at most 100000) |