fetch_emails
Fetches unread emails from Gmail as a JSON array to enable classification, summarization, and task extraction for inbox triage.
Instructions
Fetch unread emails (JSON list). Use mock=True for the fixture demo.
Returns a JSON array of {id, sender, subject, body, thread_id, received}. Reason over these yourself: classify each, summarize long ones, extract tasks and draft replies for action_needed items, then call the IO tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | No | ||
| since | No | 24h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |