Read email
read-emailRead a single email's headers, plain-text body, and attachment list by email ID; continue truncated bodies with an offset to retrieve the rest.
Instructions
[Email] Read one email: its headers, its body as plain text (HTML is converted), and its attachment list. Takes an emailId from list-emails or search-emails, unchanged. Long bodies come back in pieces: when truncated is true call again with offset: nextOffset for the rest. Attachments are listed by part; fetch one with get-email-attachment only when its content is needed. messageId, inReplyTo and references identify the email in its thread — search-emails by subject finds the rest of a conversation.
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": "read-email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character offset into the body, for continuing a truncated one | |
| emailId | Yes | An emailId from list-emails or search-emails | |
| maxChars | No | Most body characters to return |