Guide

How to auto-label Gmail (and why filters keep breaking)

Gmail can label and file the obvious mail for you with native filters, and it takes about fifteen minutes to set up. This guide shows exactly how, then explains the part most guides skip: why those filters quietly rot over time, and what actually fixes that.

Updated June 2026  ·  About an 8 minute read

Auto-labeling is the closest Gmail gets to filing your mail for you. Instead of opening each message and dropping it into a folder, you write a rule once and Gmail applies the right label the moment matching mail arrives. Done well, receipts land in Receipts, newsletters go to Read later, and your inbox holds only what is left.

The setup below is the version that actually works, in the order that makes it least fiddly. It is worth doing. It is also worth knowing, before you spend an afternoon building rules, exactly where this approach hits its ceiling, which is the second half of this guide.

What auto-labeling actually is

A Gmail filter is an if-this-then-that rule: if a message matches some criteria (a sender, a word, an address), then do something to it (apply a label, archive it, star it, and so on). A label is Gmail's version of a folder. Auto-labeling is simply a filter whose action is "apply this label," usually paired with "skip the inbox" so the mail files itself quietly.

One thing to set expectations early: filters act on the criteria you give them and nothing else. They do not understand that a message is a receipt or that a sender is one of your clients. They match text, exactly, and that distinction is the whole story of why they eventually break. More on that below. First, the setup.

Set up auto-labeling, step by step

1

Create the labels you want to file into

Decide your categories before you build a single rule, so each filter has somewhere to file to. Keep the list short; five to seven labels covers most people, and a short list makes filing a quick decision rather than a puzzle. A solid starting set:

  • Receipts for orders, invoices, and anything you will want at tax time
  • Newsletters or Read later for subscriptions worth keeping but not now
  • Notifications for app and account alerts you rarely act on
  • Admin for banking, software, and accounts

To make one: in the left sidebar, scroll down and click More, then Create new label. Name it and save. Repeat for each category.

2

Search for the exact mail you want to auto-label

Building a filter from a search is faster and safer than starting from a blank rule, because you can see precisely what it will catch before you commit. In the Gmail search bar, isolate one sender or pattern at a time:

  • from:receipts@stripe.com for a single known sender
  • from:news@somebrand.com for a specific newsletter
  • from:(noreply OR notifications) for automated alerts

Look at the results. If they are all the mail you want filed and nothing you would miss, you have a clean filter to build. If the search sweeps in something important, tighten it first.

3

Turn the search into a filter

With your search showing the right results, click the small filter icon (the sliders) at the right end of the search bar, then click Create filter at the bottom of the panel that opens.

Gmail carries your search straight into the filter, so you do not retype anything. You will now see a list of actions Gmail can take on matching mail.

4

Apply a label, and archive if you want it out of the inbox

In the actions list, tick Apply the label and choose the label you made in step one. That alone is auto-labeling: matching mail gets tagged automatically.

To file it away as well, also tick Skip the Inbox (Archive it). Now matching mail is labeled and removed from the inbox, while staying fully searchable in All Mail.

Auto-label real people, do not auto-archive them. It is fine to label client or vendor mail so you can find it, but do not tick Skip the Inbox for senders you need to see. Hiding the wrong message costs far more than seeing one extra email.

5

Apply the filter to existing mail too

By default a filter only acts on mail that arrives after you create it. To label your backlog in the same pass, tick Also apply filter to matching conversations before you finish.

Then click Create filter. Gmail labels the matching past mail right away and applies the rule to everything that arrives from now on.

6

Repeat sparingly, and review every so often

Add a filter only for senders you are confident about. It is tempting to build a rule for everything, but every filter is a rule you now have to keep correct, so restraint pays off.

Every month or so, open Settings, then See all settings, then the Filters and Blocked Addresses tab. Scan for rules that have gone quiet (a sender that changed addresses, a newsletter that switched providers) and fix or delete them. This review is exactly the upkeep the next section is about.

Why your auto-labels keep breaking

Here is the part most guides leave out. You can set up perfect filters today and, a few months from now, find unlabeled receipts and newsletters piling back up in your inbox. That is not you slipping. It is the nature of the rule itself.

A filter is frozen at the moment you write it. It matches the exact sender, address, or words you gave it, and only those. Your mail, meanwhile, never stops changing:

  • Senders change their address. A vendor moves from billing@brand.com to receipts@brand.com, and your filter, still watching the old address, quietly stops catching it.
  • New senders appear constantly. Every new supplier, tool, or client is mail your existing rules have never seen, so it lands in the inbox unlabeled until you stop and write another rule.
  • Newsletters switch providers. A subscription moves to a new email platform and arrives from a fresh domain, sailing right past the filter you built for the old one.
  • Look-alikes slip through. A filter tuned to one newsletter does nothing for the next three that look just like it but come from different addresses.

None of this is a bug. The filter is doing precisely what you told it. The problem is structural: a static rule cannot keep up with a moving inbox, so the rules slowly rot, and you become the maintenance crew, forever. That is the ceiling of doing this by hand. It works, it just never learns, and the upkeep never ends.

The tell-tale sign: you set up filters, your inbox got calm, and then weeks later it crept back to messy without you changing a thing. That drift is the rules rotting, not a lack of discipline.

The fix: an organizer that learns instead of a rule that rots

The way out is not more filters. It is a tool that does not depend on rules you maintain. That is what Sortwell does. It is the only Gmail organizer that is business-aware (it knows a receipt from a vendor from a newsletter), learns from how you file, never permanently deletes or sends, is fully reversible, and stays inside your real Gmail.

The difference is the whole point of this page:

  • It labels by what mail is, not by a frozen address. Because it recognizes a receipt as a receipt and a newsletter as a newsletter, a sender changing its address does not break anything. There is no brittle from: string to go stale.
  • It learns from how you file. Move a message to a folder in normal Gmail and Sortwell notices, then handles that sender for you next time. New senders get absorbed instead of slipping through. The list of things you sort by hand only ever gets shorter. See how the learning works.
  • It leaves the uncertain mail alone. When Sortwell is not sure, it leaves the message in your inbox rather than misfiling it, so the mail you cannot afford to miss stays in plain sight. A filter has no such judgment; it either matches or it does not.
  • Everything is reversible. It only adds and removes labels (archiving means removing the Inbox label). It never permanently deletes and never sends, and one click puts any message back exactly where it was.

The short version: filters are auto-labels you have to keep patching as senders change; Sortwell is an organizer that labels the obvious mail itself and learns the way you already file, so it adapts instead of rotting.

There is a genuinely free plan (one mailbox, daily filing and sweep, weekly report, undo, and it learns up to 10 senders), so you can watch it auto-label your own inbox before deciding anything. Plus is $4 a month billed annually for unlimited learning and learns-from-your-moves, with a 14-day trial that drops to Free, no card up front. See the full pricing.

Frequently asked questions

How do I auto-label emails in Gmail?

Run a search that isolates a sender (for example from:receipts@stripe.com), click the filter icon at the right of the search bar, then Create filter. Tick Apply the label and choose a label, and to auto-archive as well tick Skip the Inbox (Archive it). Tick Also apply filter to matching conversations to label your backlog too, then click Create filter. From then on, matching mail is labeled automatically on arrival.

Why do my Gmail filters and auto-labels keep breaking?

A filter only matches the exact senders, addresses, or words you wrote into it. The moment a vendor changes its sending address, a newsletter switches providers, or a brand-new sender appears, the rule no longer matches and that mail lands unlabeled in your inbox. Nothing is broken in a technical sense; the rule is simply frozen while your mail keeps changing, so the rules slowly rot and need constant upkeep.

Can Gmail auto-label without me writing filters?

Gmail's built-in categories (Promotions, Social, Updates) auto-sort some mail without filters, but they are generic and you cannot rename them into your own folders. To label into your own categories, Gmail needs you to write filters. A tool like Sortwell auto-labels into your own folders and learns from how you file, so you do not maintain rules by hand.

Does auto-labeling in Gmail also archive the email?

Only if you tell it to. When building a filter, ticking Skip the Inbox (Archive it) alongside Apply the label both labels the message and removes it from the inbox, while it stays searchable in All Mail. If you leave that box unticked, the mail is labeled but still appears in your inbox.

How many Gmail filters can I have?

Gmail does not publish a strict cap, and most people never approach a limit. The real constraint is maintenance: every filter is a rule you have to keep correct as senders change, so a large pile of filters becomes its own chore. Fewer, well-chosen filters are easier to keep accurate than dozens of brittle ones.

What is the alternative to maintaining Gmail filters?

Instead of writing and patching rules, use a tool that learns from how you file. Sortwell labels the obvious mail for you daily, leaves anything it is unsure about in your inbox, and when you move a message to a folder it handles that sender for you next time. It only adds and removes labels, never permanently deletes and never sends, and every action is one-click reversible.

Stop patching filters. Let Sortwell label it.

Connect your Gmail and watch it auto-label the obvious mail, keep what matters in view, and learn as you go, so it adapts instead of rotting. Nothing is ever permanently deleted, and you can undo anything.

Start free
Free plan, forever. No credit card. Cancel anytime.