Mail Cleaner

Clean up your mailbox

Find the senders that flood your inbox, unsubscribe from them and delete everything they sent. It all runs in this browser tab: your mail goes straight between your mail service and you.

You sign in on Microsoft's own page: your password never reaches this app.

Use your own app registration instead

Microsoft only lets an app read your mail after the app is registered. It's free and takes about two minutes.

  1. Open entra.microsoft.com, go to App registrations and click New registration.
  2. Name: Mail Cleaner. Supported account types: Any Entra ID tenant + personal Microsoft accounts.
  3. Redirect URI: pick Single-page application (SPA) and type . Click Register.
  4. Copy the Application (client) ID from the overview page and paste it here.

No Microsoft Entra access with a personal account? Create a free Azure account first; it gives you a "Default Directory" where you can register apps.

What Mail Cleaner does

Mail Cleaner is a free, open source app that cleans up Outlook and Gmail mailboxes. It groups your mail by sender, so you see at a glance who fills your inbox and how much space they take, and then lets you:

Why it needs access to your mail

To group your mail it reads the sender, subject, date, size, labels and unsubscribe headers of the mails in the folders you scan, plus the short preview your mail service provides. It opens a mail's full content only when you open that mail. It deletes, moves or marks mail, creates block filters and unsubscribes only after you confirm. With Gmail it also reads your storage quota, through a Google Drive permission that can't see your files.

All of this happens in your browser: Mail Cleaner has no server, and your mail is never stored, shared or sold. The privacy policy has the details.

Using Yahoo, iCloud or your own domain? The desktop edition for Windows, macOS and Linux also works with any IMAP mailbox.

Mail Cleaner

Find the senders that flood your mailbox, unsubscribe from them and delete everything they sent, for Outlook, Gmail and IMAP mailboxes. Your mail goes straight between your mail service and you.

Made by XxSeRyIxX. Copyright (C) 2026 XxSeRyIxX.

Free and open source: you may use, study, share and change it under the GNU Affero General Public License v3 or later. It comes with absolutely no warranty. The source code is on GitHub.

Credits

Report a problem · Privacy policy

Privacy policy

Continue with Google

Google keeps a sign-in in the browser for one hour. Click Continue to carry on where you left off; Google's window usually opens and closes by itself.

ReceivedFromSubjectSizeFolder

Finish unsubscribing

These senders don't offer one-click unsubscribe. Open each link and confirm on their page. Mail links open your mail app with the message ready to send.

Export for an AI

Copy this text into ChatGPT, Copilot, Gemini or any AI chat. If it's too long to paste, download it as a file and attach that to the chat instead. It asks the AI which senders to remove, and to answer with a list you bring back here with Paste AI answer. The AI doesn't need the full mails: this summary is enough, and much smaller.

Paste the AI's answer