I noticed most of my inbox clutter comes from a small number of senders (newsletters, alerts, etc.).
I ended up building a CLI tool to:
- find which senders are actually taking up space
- clean them in bulk
- keep it safe (everything goes to Trash + full undo)
Recently added IMAP support, so it works with Outlook/iCloud/Fastmail/etc — not just Gmail.
Example:
mailtrim stats
mailtrim purge --domain linkedin.com --yes
mailtrim undo
Design goal was: no background automation, everything explicit and reversible.
Would really appreciate feedback from folks here:
- does this match how you manage email?
- anything you’d want before trusting a tool like this?
Repo: https://github.com/sadhgurutech/mailtrim
Disclaimer: Yes, i have used claude to speedup with development. i am a senior developer by profession. So, not a simple vibe coded app.
Here's my launch post on Hackernews from a month ago.
https://news.ycombinator.com/item?id=47645719