Live data from Hacker News

Show HN: mailtrim – find what's actually filling your Gmail inbox

news.ycombinator.com

21–29 of 29 posts

Re: Show HN: mailtrim – find what's actually filling your Gmail inbox

#21

Very cool! Congratulations on putting this together. Was also tinkering with Gmail bloat but, admittedly, with a less ambitious approach. Definitely going to give it a try.

Thanks! The Gmail API setup is the only friction. Once Mailtrim auth completes, it's just two commands. Let me know if you hit anything.

Re: Show HN: mailtrim – find what's actually filling your Gmail inbox

#22

Did you really use a LLM to generate the sample output in your readme instead of just running the application? I noticed the borders were all misaligned and wondered if you had hardcoded the number of spaces, but I looked at the code and you haven't. If you did generate the output with a LLM instead of just running it... why? Also: > It uses Claude AI for smart classification, but runs entirely locally: your emails n…

The share text and README have been updated to accurately say "Core cleanup runs locally — AI commands send only subjects/snippets to Anthropic." The terminal sample outputs were illustrative; I'm recording a real asciinema session to replace them. PR #8 landed the README fix

Re: Show HN: mailtrim – find what's actually filling your Gmail inbox

#23

I would love it if it could run against archived messages (`in:anywhere -in:trash -in:spam`) ... I've been archiving all email for a very long time and being able to run stats and purge it would do wonders.

Now shipped: --scope anywhere is now live — scans all mail (inbox, archived, sent), not just inbox. Works with stats, purge, and sync. Thanks for the push

Re: Show HN: mailtrim – find what's actually filling your Gmail inbox

#27
I'd like an option to run against a local ollama server, that would give folks an option to keep this completely local.

For me, it seems to be quite a few senders that fill my inbox. running

``` mailtrim purge ```

only finds about 200 MB of purge suggestions with a mailbox of 15GB, but deleting a few and running again finds a few more.

Gmail does some classification, it might be useful to have scopes that match those: promotions, updates, social and forums.

IMAP support would be useful for a yahoo account even if it's slower/less accurate. This is better than manual cleanup.

Post reply on HN