logo

IMAP Cleanup Tool

Bulk-clean your mailbox · local web UI

disconnected
Cleanup
Scheduling

Connection

Profile

Folders iPick the folders to scan. Gmail uses special names like [Gmail]/All Mail, [Gmail]/Trash (may be localized). Connect first to load the list.

Not connected - folders will appear here. Defaults to INBOX.

⚠️ Every action - Run, List senders, Empty folder - applies to the selected folders above (hover a row and click × to remove it from the list).

What to match

Senders / domains, one per line i One entry per line:
spam@example.com - exact sender address
*@newsletter.com - that domain exactly, never subdomains
annoying.com - that domain, plus subdomains if “Include subdomains” is on
mail.annoying.com - that specific subdomain
• lines starting with # are comments
In "full" mode, *@paypal.com = paypal.com without Include-subdomains. The point: with Include-subdomains on, *@paypal.com stays exact while bare domains (e.g. newsletter.com) also catch their subdomains - so you can mix per-entry. ("search" mode is always a substring match.)
one entry per line · reuse across runs
Counts how many emails match the current filter in the selected folders - makes no changes.

Options

Cleanup action

Deletes / moves matching messages in the selected folders. With dry-run on, “Run” only previews.

List senders

Shows the senders in the selected folders ranked by how many emails each sent - use it to decide what to target.

Downloads the last “List senders” result to your browser’s download folder. Edit the file name if you like; with “ask where to save” enabled, your browser also lets you choose the folder.

Log