lethe_scan
Scans From and List-Unsubscribe headers for messages from the last N days, groups senders, saves results, and returns top unsubscribe candidates.
Instructions
Read the From and List-Unsubscribe headers of every message received in the last days
days (all folders except Sent, Drafts and Outbox), group them by sender, and save the result.
Returns totals, the scan_id, and the top biggest senders that can be unsubscribed from.
A large mailbox can take a few minutes.
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": "lethe_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| days | No |