邮箱清理体检(按发件人聚合)
mail_cleanup_reportScan recent emails and group them by sender to show which addresses send bulk notifications or subscriptions versus real mail, supporting safe, read-only cleanup decisions.
Instructions
扫描文件夹里最近 N 封邮件,按发件人地址聚合成「谁发得最多」的清单,附带每组的未读数、最早/最晚时间、若干封 uid 与主题样例,用来判断哪些是群发通知/订阅资讯(可批量清)、哪些是真人邮件(别删)。纯只读,不删任何东西。
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": "mail_cleanup_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | 返回多少个发件人分组,默认 15 | |
| scan | No | 扫描最近多少封,默认 300 | |
| folder | No | 文件夹,默认 INBOX | |
| unread_only | No | 只统计未读邮件 |