find_old_unread
Locate unread emails older than a set number of days in a chosen folder to identify messages suitable for bulk archive or cleanup.
Instructions
Unread mail older than days in a folder: mail that is realistically never
getting read, and the safest first candidate for a bulk archive.
Shorthand for find_old_messages with read_state=unread; same result shape (message_ids, count, first 50 summaries).
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": "find_old_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| folder | No | inbox |