triage_digest
Get a structured inbox summary grouped by sender, label, age, and automated-signal flags, with unread and attachment counts, so you can quickly decide what to archive, snooze, or label.
Instructions
Structured overview of a mailbox slice for triage DECISIONS — sender / label / age buckets, unread and attachment counts, and header-derived signals (newsletter / automated / calendar / replyToMismatch — thread counts overall, and per sender the set of signals its threads carry), instead of a raw thread list. USE WHEN: deciding what to bulk-archive/snooze/label, or summarizing inbox state ('what's in my inbox?'). DO NOT USE: to read a specific thread (use search/get_thread). Samples up to max most-recent matches; hasMore flags that more matched than were sampled. byAge buckets by each thread's FIRST message date (thread age, not last activity). SIDE EFFECTS: none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| topN | No | ||
| query | No | in:inbox |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| byAge | Yes | ||
| query | Yes | ||
| unread | Yes | ||
| hasMore | Yes | ||
| sampled | Yes | ||
| signals | Yes | ||
| topLabels | Yes | ||
| topSenders | Yes | ||
| withAttachments | Yes |