u/CommonSubstantial871

Simple python script that archives older emails in bulk.
▲ 2 r/GMail

Simple python script that archives older emails in bulk.

I’ve been using Spark lately and it’s become my favorite email client, but it kept randomly pulling in older emails I’d never bothered to archive, cluttering up my inbox again. I tried bulk-archiving them through Gmail, but it only lets you handle 50 at a time, which was way too tedious.
So I built a little script with Claude Code that archived more than 15,000 emails in seconds. Thought I’d share since it might be useful to others. The only downside is you have to run it from the command line, but the setup is pretty straightforward.

Here’s the link with instructions: https://github.com/Stefanos25/gmail-archiver

Hope you find it helpful!

u/CommonSubstantial871 — 11 days ago