Remix.run Logo
DigitallyBorn 14 hours ago

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.

chevuru 7 hours ago | parent | next [-]

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

chevuru 9 hours ago | parent | prev [-]

This is a great call. you're right that a lot of the "hidden bloat" sits in archived mail, not the inbox.

Right now mailtrim only looks at inbox by default, but adding support for something like:

  in:anywhere -in:trash -in:spam
is very doable.

Would you expect this as: 1) a flag (e.g. --all-mail) 2) or the default behavior?

Happy to prioritize this if it's useful. Feels like it would surface way more interesting results.