All posts

How to Automatically Label Emails in Gmail: Fewer Steps With Unpile

Set up a Gmail filter that labels a sender's mail automatically, apply it to the backlog too, and do the same in one sheet with Unpile.

The same newsletter arrives every morning. The same service sends another notification. Every time, you make the same decision about where it belongs.

Gmail filters can handle that decision for you. Set the conditions once, choose a label, and matching incoming messages receive it automatically. You can also apply the rule to messages already in your account.

Unpile makes this easier for sender-based rules by bringing the label, inbox settings, and existing-message cleanup into one place.

Here's how to set up both approaches.

Start with a label you'll actually use

Choose a category that helps you find something later or review similar messages together.

A few useful starting points:

  • Newsletters: publications you deliberately subscribe to. Read them together when you have time.
  • Receipts: purchase confirmations and receipts. Find them when checking an order or requesting a return.
  • Updates: routine notifications from services you use. Keep a record without reviewing every notification immediately.
  • Clients: correspondence from specific clients. Group relevant messages while keeping active conversations visible.

Start with a few categories. Your inbox probably doesn't need a filing system with its own onboarding document.

A label organizes messages without necessarily removing them from the inbox. Applying one manually also doesn't create a rule for future emails. For that, you need a filter.

How to automatically label emails in Gmail

Use Gmail in a desktop browser for the setup.

1. Create the label

In the left sidebar, click the + beside Labels. Enter a name, such as Newsletters, then create it. You can optionally nest it under another label.

2. Check which messages should match

For a sender-based rule, search from:newsletter@example.com, replacing the example with the sender's actual address.

Review the results. Does this address send only the newsletter, or does it also send receipts, account alerts, or replies you need to see?

If necessary, narrow the conditions. For example, from:updates@example.com subject:"weekly digest" combines a sender with a subject phrase. It's useful only if that phrase consistently identifies the messages you want.

3. Turn the search into a filter

Open Show search options beside the search bar and check the criteria. Click Create filter, then select Apply the label and choose your label.

Decide whether to add either of these separate actions:

Filter action Result
Apply the label Adds your chosen label. On its own, it leaves inbox placement and read status unchanged.
Skip the Inbox Archives matching messages so they don't appear in the inbox.
Mark as read Removes their unread status. On its own, it doesn't archive them.

You can combine these settings. For example, a newsletter can receive the Newsletters label and skip the inbox while remaining unread for later.

4. Include the existing backlog

Before finishing, select Also apply filter to matching conversations if you want the chosen actions applied to existing matches.

Then create the filter. Without that checkbox, the new rule won't organize the old backlog as part of setup.

Be deliberate here: applying the filter to existing messages also applies any additional actions you selected, such as archiving or marking them as read.

Set up the same workflow with Unpile

Unpile is a Mac app for Gmail that lets you organize a sender directly from a message.

  1. Open an email from the sender.
  2. Choose Organize on the sender card.
  3. Check whether the rule should match the exact address or the wider domain.
  4. Select an existing label or type a new label name.
  5. Choose whether to mark messages as read or skip the inbox.
  6. Select Mail I already have, New mail from now on, or both.
  7. Click Apply.

Choosing future mail creates a Gmail filter. Gmail continues applying it even when Unpile isn't open, and the results appear when you check your account on other devices.

For example, you could put a publication's existing emails under Newsletters, remove them from the inbox, and keep future editions organized the same way. Leave the read setting unchanged if you still want to track which editions you haven't read.

Use an exact address when different people or services at the same company need different treatment. A rule for an entire company domain can include much more than its newsletter.

Turn a repeated setup into a Quick Action

If you keep applying the same settings to different senders, save them as a Quick Action.

For example, a Newsletters button could apply that label, archive the messages, and create a rule for future mail. You can then use the button when reviewing another newsletter sender.

Quick Actions operate on a sender or domain. They don't automatically recognize every newsletter or receipt in your account.

That makes them useful for consistent sources. A Receipts action fits an address that reliably sends receipts; a mixed-purpose address needs a closer look.

What if the rule needs changing?

In Gmail, open Settings → See all settings → Filters and Blocked Addresses. Find the rule and choose Edit or Delete.

Check the matching conditions as well as the label. A sender may change addresses or alter its subject format. Replies only trigger a filter when they independently match its conditions.

In Unpile, the Filters section lets you inspect and edit rules. After an Organize action, Undo can reverse the changes it made and remove the filter it created.

Automate the predictable messages first

Start with a sender whose messages you understand. Apply a label, check the results, then decide whether those messages should also bypass the inbox.

Keep active client conversations, account problems, and other messages requiring judgment visible until you're confident in the rule.

A useful filter should remove a repeated sorting decision. Once the next matching email lands in the right place, you have one less small job waiting in your inbox.

Use Unpile to label existing emails and organize new ones automatically.