Gmail Get Mail Digest
gmail_get_mail_digestList recent received and sent mail as a single digest with snippets to catch up on a chosen lookback window, excluding drafts, Spam, and Trash.
Instructions
List the mail received and sent in a recent time window (default the last 3 days) as one feed with snippets, with no category or importance filtering; drafts, Spam and Trash are left out. Use it to catch up on recent mail; use gmail_search_emails to find mail by sender, subject or any Gmail query, and gmail_check_mail_updates to poll for new mail since a saved checkpoint. Returns messages (id, thread_id, from, subject, date, snippet, unread, has_attachments, direction 'received' or 'sent'), count, window and account_timezone; there is no next page. Read bodies with gmail_read_emails.
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": "gmail_get_mail_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Lookback window: a number of days (d), hours (h) or weeks (w), e.g. '24h' or '2w'. Mail received or sent since now minus the window is listed. | 3d |
| max_items | No | Messages to return. There is no next page: when the window holds more, shorten it or page through gmail_search_emails instead. | |
| unread_only | No | When true, only unread messages are listed (adds is:unread); by default read and unread both are. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of items in this response. | |
| window | No | The lookback window that was applied, e.g. '3d'. | |
| has_more | No | Whether another page is available. | |
| messages | No | Received and sent messages in the window; drafts excluded. | |
| fetched_at | No | RFC3339 time when this response was fetched. | |
| next_page_token | No | Opaque token for the next page, or null. | |
| account_timezone | No | IANA time zone of every time in this result. |