Free Tool
Even if you have 50,000 unread emails. A free Google Apps Script that bulk-archives your entire Gmail inbox automatically. Nothing deleted. Everything still searchable. Set it up once — walk away — come back to zero.
No spam. Just the script and occasional tools I build.
What You Get
Copy, paste, run. No coding knowledge required. Works in under 3 minutes.
When Gmail says "too many operations," the script pauses itself and resumes the next day. No manual intervention.
5 steps, 3 minutes. Go to script.google.com, paste, run "setup," authorize, walk away.
Personal Gmail or Google Workspace. No apps, no extensions, no subscriptions. Runs entirely free inside Google’s own infrastructure.
Every email is archived, not deleted. Still fully searchable in Gmail’s "All Mail." Your data stays safe.
Real Numbers
I ran this on my own 50K+ inbox. Day one: 38,950 threads archived before Gmail’s daily quota kicked in. The script paused itself, resumed the next day, and kept going. No babysitting required.
How It Works
Go to script.google.com — it’s free, built into every Google account.
Click "New project" and paste the script into the editor.
Save the project, then select the setup function from the dropdown and click Run.
Google will ask for permission to manage your Gmail. Approve it — the script only archives, never deletes.
The script runs every 5 minutes on autopilot. It handles daily limits, resumes automatically, and stops when your inbox is empty.
The script archives 50 threads at a time in small batches, pausing between each to avoid rate limits. A time-based trigger fires it every 5 minutes. When it hits Gmail’s daily quota (~35K–40K threads), it pauses and creates a one-time resume trigger for the next day. When your inbox hits zero, it stops itself and cleans up all triggers.
About
I’m the founder of KEY Difference, and an operator running lean companies augmented by AI. I build tools that solve real problems. This is the first in a series of free automation tools I’m releasing publicly.
Inbox zero is 3 minutes away.
Free forever. No credit card required.