All posts

Clean Up Your Gmail Inbox in 20 Minutes, Sender by Sender

One decision per sender instead of one per email, in plain Gmail or in Unpile.

Set a timer for 20 minutes. That's enough to clean up a Gmail inbox with thousands of unread emails, or at least to make a dent you can see, as long as you stop treating it as thousands of emails.

Sorted by date, an overflowing inbox looks like an endless list of unrelated messages. Grouped by sender, the same mail shrinks to a few dozen names, and a small group of them is usually responsible for most of it. So this guide asks you to make one decision per sender instead of one per email, then turn the best of those decisions into rules so the pile doesn't grow back.

Everything below works in Gmail on the web, with no extra tools. Where Unpile, our Mac app for Gmail, saves you clicks, we say so.

The 20-minute plan

  1. Find your biggest senders (3 minutes). Look at your unread mail by who sent it, not by date.
  2. Give each sender one verb (9 minutes): delete, archive, mark as read or label. Apply it to everything they've sent.
  3. Turn your best decisions into filters (4 minutes), so the same thing happens to tomorrow's mail.
  4. Sweep whole companies by domain (2 minutes) when one company writes from several addresses.
  5. Unsubscribe (2 minutes) from anything you'd delete on sight.
  6. Stop. Leave the old archive alone. It has waited this long.

The rest of this guide walks through each step.

Why sender by sender works

Most of your mail was written by machines, and machines repeat themselves. When researchers at Yahoo Labs studied more than 500 billion messages from Yahoo Mail users who had opted into research, nine out of ten were non-spam, machine-generated mail: receipts, shipping updates, social notifications, newsletters and alerts. A relatively small number of senders produced most of that traffic.

Work inboxes are relentless too. Microsoft's 2025 data puts the average worker at 117 emails a day, most of them skimmed in under a minute.

That's why going one message at a time is the slowest way through a backlog. Every email asks a fresh question (what is this, do I need it, should I unsubscribe?), and each answer is a small context switch. Grouped by sender, you answer the question once and apply the answer to dozens of messages. We looked at why this matters even more if you have ADHD in a separate post.

Step 1: Find your biggest senders (3 minutes)

Gmail sorts your inbox by date and has no built-in way to sort it by sender. You can get close in three ways.

  • Search one sender at a time. Right-click any message and choose Find emails from, or type is:unread from:sender@example.com into the search bar to see only that sender's unread mail.
  • Check your subscriptions. Gmail's Manage subscriptions view, in the menu on the left, lists your subscriptions by how often each sender emails you. It's a quick way to spot the loudest newsletters.
  • Search everything unread. is:unread shows all your unread mail. Scroll the first few pages and note the names that keep coming back.

Write down the five to ten senders you see most. Skip anyone who is an actual person for now; this method is for the machines.

In Unpile: switch the message list to By Sender or By Domain, and your mail is grouped into one section per sender, each with its unread count. Open any message and the sender card shows exactly how many unread emails you have from that sender, across every folder (user guide).

Step 2: Give each sender one verb (9 minutes)

For each sender on your list, pick one of four verbs and apply it to everything they've sent.

  • Delete: promotions from shops you no longer use, alerts from accounts you've closed, newsletters you haven't opened in a year.
  • Archive: receipts, confirmations, invoices and travel details. Archiving takes mail out of the inbox without deleting it; it stays in All Mail and in search. Gmail was designed around this from its 2004 launch, on the idea that you'd never need to file or delete a message to find it again.
  • Mark as read: mail that's useful as a record but never needs your attention, like automated reports. Clearing those bold rows makes the unread count mean something again.
  • Label: senders you need but don't need to see, such as a client or a project tool. A handful of broad labels (Receipts, Updates, Newsletters) works better than one per sender.

To do it in Gmail, search from:sender@example.com, tick the select-all box at the top of the list, then click Select all conversations that match this search. Without that last click, Gmail only selects the messages on the current page. Now delete, archive, mark as read or label them in one go. The Gmail mobile app doesn't offer the "select all conversations" option, so do this part on a computer.

In Unpile: the sender card has Mark N as Read for every unread message from that sender, Review to see only their unread mail before you decide, and Delete N… to move everything they've sent to Gmail's Trash. Every action has an Undo.

Step 3: Turn your best decisions into filters (4 minutes)

A cleanup only lasts if your decisions also apply to tomorrow's mail. Otherwise the weekly report turns up on Monday, the store sends another sale on Tuesday, and on Wednesday the service whose 22 notifications you just archived sends number 23.

Pick the senders you archived, labeled or marked as read, and turn each decision into a rule:

  1. Search from:sender@example.com in Gmail and open the search options (the sliders icon at the end of the search bar).
  2. Click Create filter.
  3. Tick what should happen: Skip the Inbox (Archive it), Mark as read, Apply the label, or a combination.
  4. Tick Also apply filter to matching conversations. Without it, a filter only touches mail that arrives after you create it (University of Minnesota IT).
  5. Click Create filter.

Filters run inside Gmail itself (Gmail Help), so they keep working on your phone and on the web with nothing else installed.

In Unpile: Organize files a sender in one sheet. Choose a label, mark as read and/or skip the inbox, then apply it to the mail you already have and to new mail; the new-mail part is a real Gmail filter. Quick Actions turn your favorite combinations into toolbar buttons, so filing a sender under Receipts is a single key press.

Step 4: Sweep whole companies by domain (2 minutes)

Companies rarely email from a single address. You might hear from news@, updates@, billing@ and notifications@ at the same company, and end up making the same decision four times.

In Gmail, search for the domain instead of the address, for example from:company.com, and apply your verb or filter to all of it.

Use this with care. When Yahoo's researchers grouped mail by domain, one company would often send order confirmations, job alerts, payroll notices and personal messages from its employees, all from the same domain (study). Before you archive a whole company, check that nobody you need writes to you from it.

In Unpile: the ▾ menu on the sender card switches between this exact address and anyone at the domain, so you can act on one address or the whole company.

Step 5: Unsubscribe from what you'd delete on sight (2 minutes)

Unsubscribing is easier than it used to be. Since 2024, Google has required anyone sending more than 5,000 messages a day to Gmail addresses to offer one-click unsubscribe and process it within two days. In Gmail's Manage subscriptions view, one click sends the request for you.

Two cautions. Don't unsubscribe from obvious spam: it tells the sender your address is real, so report it as spam instead. And don't unsubscribe from senders you actually need, like your bank, your payroll provider or the airline holding your booking. They don't need an exit. They need a filter (Step 3).

In Unpile: Unsubscribe and Mark All as Read stops the newsletter and clears what's already in your inbox in the same step. For real junk, the Junk button moves everything from that address to Spam instead.

Step 6: Stop

When the timer goes off, stop. The goal was never to process your entire email history.

Old mail is the riskiest place to spend your time. You find an email from 2018, open the attachment, remember the person who sent it, search their name, and twenty minutes later you're reading a seven-year-old thread. The archive is searchable. It can wait.

Look at the counter instead. "I spent half an hour on email" is vague. "I went from 1,752 unread to 940" is something you can feel, and that's what makes the next 20 minutes easier to start. When you come back for another round, the senders you turned into filters won't be in it.

FAQ

Can Gmail sort emails by sender?

Not directly. Gmail lists mail by date. You can search for one sender at a time with from:, right-click a message and choose Find emails from, or use the Manage subscriptions view for newsletters and marketing mail. To see all your mail grouped by sender, each with its unread count, you need a separate tool such as Unpile.

How do I delete all emails from one sender in Gmail?

Search from:sender@example.com, tick the select-all box, click Select all conversations that match this search, then click the trash icon. Deleted mail goes to Trash, which Gmail empties automatically after 30 days.

Do Gmail filters apply to emails I already have?

Only if you tick Also apply filter to matching conversations when you create the filter. Otherwise they only affect new mail.

Is archiving the same as deleting?

No. Archived mail leaves your inbox but stays in All Mail and shows up in search. Deleted mail goes to Trash.

The same method, one click per sender

Unpile is a Mac app for Gmail and Google Workspace built around this method. Every message shows how many unread emails you have from its sender. From that card you can mark them all as read in one click, review them first, file them under a label, send them to Trash or unsubscribe, and the same step can create the Gmail filter for future mail. Opening a message doesn't mark it read unless you ask it to, and every action can be undone.

Unpile is in a free private beta for macOS 14 or later. Join the beta.