sadhgurutech

Delete years of Gmail clutter in minutes. Free, open-source, privacy-first.

36
3
100% credibility
Found Apr 06, 2026 at 36 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

mailtrim is an open-source tool for scanning Gmail inboxes, identifying clutter by sender, and bulk-deleting it with safety scores and undo support, plus optional smart categorization.

How It Works

1
📧 Discover mailtrim

You hear about a free tool that quickly cleans years of clutter from your Gmail inbox without subscriptions.

2
💻 Get it ready

Download and set up the tool on your computer in a few minutes.

3
🔗 Connect your Gmail

One-time setup to safely link your Gmail so it can see and organize your emails.

4
📊 Spot the clutter

Run a fast scan to see exactly which senders are hogging space and how much you can free up.

5
Pick your cleanup style
🗑️
Quick purge

Select senders and move old emails to trash with one go, fully undoable.

🤖
Smart sort

Let it prioritize, categorize, and suggest actions for your unread mail.

6
Review and undo anytime

Check results, reverse changes if needed, or set rules for ongoing tidiness.

🎉 Inbox transformed

Celebrate a clutter-free inbox, MBs of space reclaimed, and less daily overwhelm.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 36 to 36 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is mailtrim?

mailtrim is a Python CLI tool that scans your Gmail inbox, ranks senders by clutter impact (storage and volume), and lets you bulk-delete years of emails from top offenders like newsletters or GitHub notifications in seconds. Core commands like stats, purge, and undo run fully local with no API key or servers involved, while optional AI triage and natural language bulk ops (e.g., "archive newsletters older than 60 days") use Anthropic for smarter classification. It solves the pain of overflowing inboxes by freeing GBs safely, with a 30-day undo window.

Why is it gaining traction?

Unlike paid tools like SaneBox or Superhuman that process your email on their servers for $7-40/month, mailtrim keeps core cleanup local and free, with standout features like conditional follow-ups (remind only if no reply), avoidance detection for emails you keep ignoring, and near-100% unsubscribe success via headless browser fallback. Developers love the privacy-first approach—no telemetry—and the shareable stats summaries for bragging about reclaimed space. It directly tackles how to delete years of Gmail without risking important threads.

Who should use this?

Backend devs buried in GitHub notifications (delete GitHub issue alerts, copilot history, or forks), indie hackers with stale newsletters, or anyone needing to delete years of Gmail clutter before a job switch. Ideal for power users scripting inbox hygiene via JSON output or rules for recurring automation, like purging old LinkedIn jobs or Medium digests.

Verdict

Early-stage with 36 stars and 1.0% credibility score, but excellent docs, 115+ tests, and pre-commit hygiene make it low-risk to try—install via pip and auth in 20 minutes. Grab it if your inbox has years of noise; skip if you need enterprise polish.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.