get_emails
Fetch full content of up to 20 emails in a single request, without marking them as seen, to streamline triage and summarization.
Instructions
Fetch the full content of multiple emails in a single call (max 20). More efficient than calling get_email repeatedly when triaging or summarising several emails. Does NOT mark emails as seen. Defaults to format="text" (HTML stripped) for compact, AI-friendly output.
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": {
"account": "<account>",
"ids": "<ids>"
},
"name": "get_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Email IDs to fetch (max 20). Obtain IDs from list_emails or search_emails. | |
| format | No | Body format (default: text — strips HTML for efficient AI reading). Use stripped to also remove quoted replies. | text |
| account | Yes | Account name from list_accounts | |
| mailbox | No | Mailbox path (default: INBOX) | INBOX |
| maxLength | No | Truncate each email body at this many characters. |