1
0 Comments

I built a one-click Gmail cleaner to bulk delete promos/newsletters and free up storage

I kept hitting Gmail and Google account storage warnings, but the manual cleanup flow is brutal. Search promotions, select all, delete, repeat. Same for social, newsletters, updates/forums, and then the real storage hogs: old emails with huge attachments.

So I built Gmail One-Click Cleaner, a Chrome extension that automates that exact workflow. It runs a conservative set of Gmail queries for old bulk mail, opens each search in your existing Gmail tab, selects all matching conversations (including “select all conversations that match this search” when Gmail shows it), deletes to Trash, and repeats passes until that filter is cleared. A progress tab shows what query is running and logs each step so it stays transparent.

The big thing I cared about is trust. It runs only on mail.google.com, logic runs locally in the browser, and nothing gets sent to external servers. Everything goes to Trash first so users can recover if they want.

It’s open source, and I’m trying to make the defaults safe for normal users but still aggressive enough to actually free storage. If you’ve built productivity extensions or you’re deep into Gmail power-user workflows, I’d love feedback on the default rules and what you’d want next (custom rules UI, review mode, better attachment targeting, stats on how much storage you freed).

Links

GitHub: https://github.com/TiltedLunar123/gmail-one-click-cleaner

on January 8, 2026
Trending on Indie Hackers
How I built an AI workflow with preview, approval, and monitoring User Avatar 62 comments Show IH: I'm building a lead gen + CRM tool for web designers targeting local businesses without websites — starting with Spain User Avatar 55 comments I built a URL indexing SaaS in 40 days — here's the honest story User Avatar 35 comments I built a desktop app to move files between cloud providers without subscriptions or CLI User Avatar 27 comments Show IH: I built an AI agent that helps founders find the right people User Avatar 24 comments After 4 landing page rewrites, I finally figured out why my analytics SaaS wasn't converting User Avatar 21 comments