Open source · MIT · Local-first
Clean 70,000+ unread emails without reckless auto-delete
Inbox Declutter scans Gmail, Outlook, or IMAP in batches, groups mail by sender, classifies with rules + optional AI, and lets you approve before anything is deleted or unsubscribed.
Cluster by sender
One decision can clear hundreds of emails from the same sender.
Review first
Nothing is deleted or unsubscribed until you approve.
Runs locally
Your mail metadata stays on your machine in SQLite.
Built for backlogs
Process 1K–2K emails per batch until the inbox is manageable.
Install in 30 seconds
git clone https://github.com/mqcoding/inbox-declutter.git
cd inbox-declutter
python -m venv .venv && source .venv/bin/activate
pip install -e .
cp .env.example .env
email-declutter workflow --provider gmail --max-messages 2000