Issue No. 001·March 21, 2026·Seoul Edition
Back to home
ProductivityEmailOpen Source

MailScrub: Terminal UI for bulk Gmail unsubscribing

Terminal-based TUI for bulk Gmail newsletter management and unsubscribing. Local SQLite caching of headers ensures fast navigation without constant API latency.

April 27, 2026·IndiePulse AI Editorial·Stories·Source
Discovered onGLOBALENHN

betaMailScrub

TaglineTerminal UI for bulk Gmail unsubscribing
Platformother
CategoryProductivity · Email · Open Source
Visitgithub.com
Source
Discovered onGLOBALENHN
MailScrub is a pragmatic utility for those who find the Gmail web interface too sluggish for mass curation. Instead of clicking through individual 'unsubscribe' links or fighting with search queries, it pulls newsletter headers into a local SQLite database, allowing users to group senders and execute bulk actions via a keyboard-driven interface. The product avoids the 'black box' nature of third-party email cleaners by keeping all data on the local machine. From a technical perspective, the implementation of RFC 2369 is a high point. By prioritizing HTTP POST and GET requests over 'mailto' fallbacks, it minimizes the friction of manual email sending. The inclusion of alias detection—ensuring unsubscribe requests are sent from the specific address the newsletter was delivered to—shows a level of attention to detail often missing in simpler scripts. The use of a local cache for headers is a smart architectural choice that separates the slow I/O of the Gmail API from the snappy experience of the TUI. The primary friction point is the onboarding. Requiring users to create a Google Cloud project and configure an OAuth 2.0 Desktop client is a significant barrier for the average user. While this 'bring-your-own-key' approach is a gold standard for privacy and security—ensuring the developer never touches user tokens—it turns a simple installation into a ten-minute administrative task. This effectively narrows the target audience to developers and power users comfortable with the gcloud CLI. Overall, MailScrub is a solid, honest tool. It doesn't promise AI-driven magic; it simply provides a faster, more transparent way to clean a mailbox. For the subset of users who live in the terminal, it is an exceptional replacement for the tedious manual process of newsletter pruning.

Article Tags

indieproductivityemailopen source