email_cleanup
Archive old emails and newsletters, social notifications. Preview with dry run before committing changes.
Instructions
Clean up inbox by archiving old emails, removing newsletters, and organizing. Returns actions taken for review before committing.
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": "email_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, only report what would be done (don't actually move/delete) | |
| archive_social | No | Archive social media notifications | |
| older_than_days | No | Archive emails older than N days | |
| archive_newsletters | No | Archive newsletter/promotional emails |