read_email
Fetch and read a full email via IMAP, including body and headers, from Gmail, Outlook, or custom domains by specifying account ID and UID.
Instructions
Fetch and read a full email via IMAP, including body and headers — works with Gmail, Outlook, and custom domains.
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": {
"accountId": "<accountId>",
"uid": "<uid>"
},
"name": "read_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID of the email to read | |
| folder | No | The folder containing the email (default: INBOX) | |
| accountId | Yes | The ID of the account to use |