Gmail Get Mail Digest
gmail_get_mail_digestList recent received and sent mail as one snippet feed, excluding drafts, Spam and Trash, to catch up on the last few days quickly without category or importance filtering.
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 as '<int><unit>' where unit is d (days), h (hours), or w (weeks), e.g. '24h' or '2w'; default is '3d'. Mail received or sent since now minus the window is listed. | 3d |
| max_items | No | Maximum messages to return, 1 to 100 (default 25). 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 | ||
| has_more | No | Whether another page is available. | |
| messages | No | ||
| 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 |