GMClean vs mailtrim
GMClean
github.commailtrim
github.comSide by side
| Figure | GMClean | mailtrim |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Linux | — | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Email Cleanup Software | 8.5 (#8) | 7.6 (#19) |
| Authentication | It supports app passwords and OAuth2 for Google and Microsoft. | Gmail setup uses OAuth, while IMAP setup accepts server credentials and keeps the password out of local storage. |
| Email providers | It supports Gmail, Outlook, and custom IMAP mailboxes. | It works with Gmail and IMAP services, including Outlook, Fastmail, iCloud, and self-hosted IMAP servers. |
| License | The repository says GMClean is licensed under the MIT License. | The repository describes mailtrim as MIT-licensed and free to use, modify, and distribute. |
| Local data | The README says app data is stored in browser IndexedDB and the app has no cloud database or telemetry. | The privacy policy says email metadata, undo logs, and related data are stored locally, and full email bodies are never stored locally or sent anywhere. |
| Local storage | GMClean says data is stored in browser IndexedDB and that it has no cloud database, telemetry, tracking cookies, or analytics scripts. | The privacy policy says OAuth tokens, metadata cache, undo logs, rules, and unsubscribe history are stored locally under ~/.mailtrim/. |
| Purpose | GMClean scans email headers, classifies messages, and supports mass unsubscribe, bulk deletion, and export. | mailtrim is a command-line tool for finding and cleaning up inbox clutter. |
Plans
In their own words
GMClean
GMClean is a free, self-hosted web tool for scanning email headers, classifying messages, unsubscribing in bulk, deleting email, and exporting data. It works with Gmail, Outlook, and custom IMAP mailboxes, with up to 10 mailboxes connected at once. GMClean fetches headers such as sender, subject, and List-Unsubscribe details without downloading message bodies. It can scan INBOX, Spam, Promotions, Trash, and other IMAP folders. Inbox analysis includes a 0–100 health score based on five weighted factors, sender insights, and email age distribution. Classification uses heuristic rules, with optional Gemini assistance for ambiguous cases. Users can unsubscribe with one click using RFC 8058 support or unsubscribe in bulk; bulk deletion runs in batches of 500 messages. Exports include selected subscriptions with resubscribe links and scanned emails in CSV format. The project documents deployment with npm, Docker, or Docker Compose. It says app data stays in browser IndexedDB and there is no cloud database or telemetry. Credentials are encrypted with AES-256-CBC before storage, and setup requires an ENCRYPTION_SECRET. The repository is MIT-licensed.
mailtrim
mailtrim is a free, MIT-licensed Linux command-line tool for finding and clearing inbox clutter. It ranks senders by storage impact, then lets users bulk-delete selected senders or an entire domain; one command can remove more than 300 messages from one sender. A dry-run preview shows the proposed deletion first, and deleted mail remains restorable from Trash for up to 30 days. It works with Gmail and IMAP services such as Outlook, Fastmail, iCloud, and self-hosted servers. Gmail uses OAuth, while IMAP credentials do not retain the password locally. Optional AI tools provide triage, natural-language bulk operations, and weekly digests, but are disabled by default. When Anthropic handles AI requests, subjects, sender details, and snippets are sent, not full bodies or attachments. Metadata, tokens, rules, and undo logs stay under ~/.mailtrim/, with no analytics or usage tracking.