按规则自动清理(幂等,可定时跑)
mail_autocleanAutomatically moves junk mail to Trash using preset rules while leaving normal messages untouched. Runs as a dry-run report by default and only performs recoverable moves when disabled.
Instructions
按预设规则自动把垃圾邮件移入垃圾箱,不动任何正常邮件。默认 dry_run=true 只报告;dry_run=false 才真的移动。规则一:Twitch 直播推送,发出超过 10 小时即清。规则二:掠夺性期刊/期刊约稿与「代写代发」类骚扰(IntechOpen 等),见到即清,不看年龄。规则三:同一发件人在 24 小时内重复推送的直播/提醒类通知,只留最新一封。所有移动都进 Trash(可恢复),不会永久删除。
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_autoclean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | 要清理的文件夹,默认 INBOX | |
| dry_run | No | 默认 true 只出报告;false 才执行移动 | |
| twitch_max_age_hours | No | Twitch 推送的保留时长(小时),默认 10 |