get_email
Read a message body and attachment metadata by its opaque message ID. freshness.checkedAt is the last confirmed mailbox check; a recent value remains usable within the thirty-minute provider-latency tolerance even if freshness.stale or freshness.refreshing is true. Missing checkedAt means freshness is unknown, not that the message body is old. Set waitForFresh only when the user explicitly asks for a live refresh; a bounded timeout returns the cached body and does not by itself indicate failure. Reading does not mark the message as read.
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>",
"messageId": "<messageId>"
},
"name": "get_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| maxWaitMs | No | Maximum refresh wait in milliseconds (up to 15000). At the deadline, a cached copy may be returned with freshness metadata; this is not a guarantee of a fresh response. | |
| messageId | Yes | Pass the full opaque message ID exactly as returned by search_emails, get_email, or a completed action. Never decode, reconstruct, shorten, or otherwise alter it. After archive_email or move_email completes, use its returned replacement messageId for later message operations. | |
| waitForFresh | No | Wait briefly for a provider refresh instead of immediately returning a cached copy. Check the returned freshness timestamps and stale/refreshing flags. |