The steps to delete the mail are on how to delete all Gmail emails at once: the computer clicks, the phone limits, and a scope picker that writes the search. This page is what to leave out of that search, and how to stop the same senders from filling the inbox again.
A large cleanup should skip mail you flagged. Deleting a backlog does not unsubscribe you. The same senders write again.
Delete them on this page
Use how to delete all Gmail emails at once when you are ready to select the mail. Come back here for what the search should leave out.
Do that before you click the trash icon. Gmail deletes the whole conversation when conversation view is on, which is the default, so a row that looks like one newsletter can include a reply you still need.
Leave starred, important, and labeled mail out
Gmail's minus sign drops matches from a search. Add it with no space after the colon:
-is:starredleaves starred mail alone.-is:importantskips mail Gmail marked important.-label:receiptsprotects a label. A label with spaces uses hyphens, so Tax Docs is-label:tax-docs.
Combine them with the mail you do want gone:
category:promotions older_than:2y -is:starred -label:receipts
That is promotional mail older than two years, without starred conversations and without anything under Receipts.
Scroll the first page before you select everything. If you see a receipt, a tax document, or a work thread, star it, add -is:starred, and run the search again. Starred mail then drops out.
| What you want gone | Search that still keeps flagged mail |
|---|---|
| Promotions older than a year | category:promotions older_than:1y -is:starred |
| Social you never opened | category:social is:unread -is:starred |
| Large old messages | larger:10M older_than:1y -is:important |
| One sender | from:news@example.com -is:starred |
Those are scopes, not a second set of click steps. Promotions have their own walkthrough in how to delete all promotions in Gmail. Unread mail is how to delete all unread emails in Gmail. Age searches are how to delete old emails in Gmail. One sender is how to sort Gmail by sender. Updates is the risky category: it holds receipts, bills, and shipping mail, so do not treat it like Promotions.
Deleting does not unsubscribe
"Deleting without unsubscribing means the same emails return." — Devlints [5]
Open a message you do not want and click Unsubscribe next to the sender name. Confirm Unsubscribe, or Go to website when that is what Gmail shows. It can take a few days. How to unsubscribe in Gmail is that click for one sender, and the connected cleanup when you do not want to repeat it for the whole list.
A filter is the backup when a sender ignores unsubscribe. On a computer, search from:sender@example.com, open Show search options, and create a filter with Delete it. The Gmail app cannot create filters. Set that up on a computer if the cleanup has to keep happening.
After the delete, mail sits in Trash for 30 days and still counts toward the 15 GB quota until you empty Trash. That step is on the delete-all page.
What a one-time delete does not do
A search deletes whatever matches, once. Tomorrow's promotions are a new pile unless you unsubscribed or added a filter.
| One-time delete in Gmail | MailSweeper | |
|---|---|---|
| What it clears | Whatever the search matches, one time | Promotions, Social, and Updates you mark as eligible, on a schedule |
| What it skips | Only the operators you add, such as -is:starred | Starred, important, and Primary mail |
| Afterward | The same senders can write again | New mail in the categories you chose can be cleared as it arrives |
| Where you set it up | The select-all banner is on a computer | The schedule runs without that banner |

MailSweeper adds a Dustpan label and files the categories you choose into it. If you spot something you want, remove the label and it stays. Starred, important, and Primary mail are not moved. You pick how long mail sits in the Dustpan before it goes to Trash.

Stefan, the founder of Automateed, after trying the tool:
"MailSweeper ran seamlessly in the background, deleting junk emails and saving me hours of manual cleanup." [9]
If the mailbox is small and you only need it done once, the delete-all page is enough. If the same categories fill back up, the schedule is the part a search cannot do.
FAQs
How do I clean Gmail without losing starred mail?
Search for the mail you want gone and add -is:starred. Scroll the first page, star anything you still need, and run the search again. Then follow how to delete all Gmail emails at once for the select-all banner, Trash, and the phone limits.
How do I keep receipts out of a promotions cleanup?
Receipts usually land in Updates, not Promotions, but a few stores file them under Promotions. Star those, or move them to a Receipts label, and search category:promotions -is:starred -label:receipts. The tab-by-tab steps are in how to delete all promotions in Gmail.
Does MailSweeper delete mail I starred?
No. It leaves starred mail, mail marked important, and mail in Primary. It only schedules the categories you mark as eligible, and anything in the Dustpan label can be pulled back out before it goes to Trash.
