read_emails
Lists recent emails from one account or all enabled inboxes combined, using Gmail query syntax, with optional plaintext bodies and pagination so you can review incoming mail.
Instructions
List messages from one account, or from every enabled inbox merged together when account is omitted. Same Gmail query syntax as search_emails (see that tool for the operator reference); an empty query lists the most recent mail across all folders. Returns individual messages, not threads — use get_email_thread with a returned Thread ID to read a whole conversation. Each result carries its label ids and display names, so unread/starred/important state is visible without a second call. With include_body=true the plaintext body is included, truncated at 2000 characters; pass full_body=true for the complete text. Reports Gmail's own estimate of total matches plus a next_page_token when more results exist.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional Gmail query string. Empty lists the most recent mail. | |
| account | No | Optional account id ("personal", "tamu"). Omit to aggregate across all enabled accounts. | |
| full_body | No | With include_body=true, return the ENTIRE body instead of the first 2000 characters. Use when you need to reason over the full text. | |
| page_token | No | Token from a previous call's "Next Page Token" to fetch the next page. Reuse the SAME query, max_results and `account` scope — the token records every queried account's position, including matches already fetched but not shown, and is rejected with an explanation if the scope changed. | |
| max_results | No | Maximum emails to return per account (1-500). | |
| include_body | No | Include the plaintext body of each message. |