Gmail Filters and Labels: Automate Your Inbox in 30 Minutes

Starter · Level 1 of 3

Gmail filters are rules that act on mail the moment it arrives: archive it, label it, star it, forward it, or delete it. Labels are Gmail's version of folders, except a single message can carry more than one. Together they let your inbox triage itself. This guide walks you through creating your first label and your first filter, then hands you ten copy-paste filter recipes that handle newsletters, receipts, social notifications, and CC noise automatically. Total setup time is about 30 minutes, and everything here works on a free Gmail account.

What do you need before you start?

Just Gmail itself, open at mail.google.com. No add-ons, no paid inbox apps, no browser extensions. Two constraints are worth knowing up front:

  • Use a desktop browser. The Gmail mobile apps can apply and browse labels, but they cannot create filters. Do the 30-minute setup at a computer; the results follow you to your phone.
  • Filters only touch new mail by default. A filter starts working the moment you create it. To clean up the mail already sitting in your inbox, check the box labeled “Also apply filter to matching conversations” when you create the filter. The worked example below shows where that checkbox lives.

What do Gmail filters and labels actually do?

A filter has two halves. The criteria decide which messages it matches: who the sender is, words in the subject, words anywhere in the message, whether it has an attachment, or how large it is. The actions decide what happens to a match: skip the inbox, apply a label, mark as read, star, forward, or delete. Every incoming message is checked against every filter you have, and all matching filters run. There is no ordering to manage, which keeps things simple, but it also means two filters can both act on the same message, so keep your criteria specific.

A label is a tag, not a box. Applying the label "Receipts" to a message does not move it anywhere; the message can sit in the inbox, in the archive, and under two different labels at once. Labels can be nested (a "Money" label with "Receipts" and "Bills" under it), colored, and shown or hidden in the left sidebar. Filters plus labels is the whole system: the filter does the sorting, the label is where sorted mail lands.

How do you create a label in Gmail?

  1. In the left sidebar, scroll to the bottom of your label list and click Create new label. If the sidebar is collapsed, click the menu icon (three lines) at the top left first.
  2. Name it. For this guide, create four to start: Newsletters, Receipts, Social, and FYI.
  3. Click Create.

You can also manage labels from the gear icon → See all settingsLabels tab, which is handy later for hiding labels you rarely open.

How do you create a filter in Gmail?

Here is the full worked example for the single most useful filter: moving newsletters out of the inbox. Follow it click for click, and you will know how to build all ten recipes.

  1. Open Gmail in a desktop browser.
  2. Click the sliders icon at the right end of the search bar (hover text: “Show search options”). A search form drops down.
  3. In the Has the words field, paste:
    unsubscribe
  4. Click Create filter at the bottom right of the form. (Clicking Search instead just previews the matches, which is a useful way to test criteria before committing.)
  5. On the actions screen, check three boxes: Skip the Inbox (Archive it), Apply the label → choose Newsletters, and Also apply filter to matching conversations.
  6. Click Create filter.

Done. Every message containing the word "unsubscribe", which covers nearly all legitimate bulk mail, now files itself under Newsletters without touching your inbox. The third checkbox also sweeps your existing inbox in the same pass. To verify it worked, click the Newsletters label in the left sidebar and confirm mail is landing there.

One honest caveat: some receipts and account notices also contain the word "unsubscribe". Recipe 2 below labels receipts explicitly, and since all matching filters run, a receipt that trips both filters still gets its Receipts label. Check the Newsletters label occasionally during the first week and tighten the criteria if something important is being swept.

10 copy-paste Gmail filter recipes

For each recipe: open the search options form, paste the criteria into the field named, click Create filter, and check the actions listed. Replace the example addresses with your own senders where noted.

1. Newsletters out of the inbox

Has the words: unsubscribe

Actions: Skip the Inbox · Apply label Newsletters

The workhorse. Built step by step in the worked example above.

2. Label receipts and order confirmations

Subject: (receipt OR invoice OR "order confirmation" OR "your order")

Actions: Apply label Receipts · Never send it to Spam

Leave "Skip the Inbox" unchecked here. You usually want to see a receipt once; the label just means you can find it at tax time by clicking Receipts instead of searching your memory.

3. Mute social notifications

From: (facebookmail.com OR linkedin.com OR instagram.com OR redditmail.com)

Actions: Skip the Inbox · Apply label Social · Mark as read

Trim the list to the networks you actually get mail from. The notifications still exist inside each app; there is no reason to receive them twice.

4. Star mail from people who matter

From: (alex@yourcompany.com OR pat@yourbigclient.com)

Actions: Star it · Always mark it as important · Never send it to Spam

Swap in the two or three senders you never want to miss: your manager, your biggest client, your kid's school. This is the inverse of every other recipe; instead of moving noise out, it makes signal impossible to overlook.

5. File mail where you are only CC’d

Has the words: cc:me -to:me

Actions: Skip the Inbox · Apply label FYI

Mail where you are in the CC line but not the To line is, almost by definition, mail you are not expected to act on. This files it under FYI to skim once a day. If me behaves oddly on your account, use your full address instead: cc:you@gmail.com -to:you@gmail.com.

6. Flag oversized attachments

Has the words: has:attachment larger:10M

Actions: Apply label Large files

Gmail storage is shared with Google Drive and Google Photos. When the "storage full" warning eventually arrives, clicking this label shows you exactly which messages to delete first.

7. Sort with plus addresses

To: yourname+shopping@gmail.com

Actions: Skip the Inbox · Apply label Shopping

Gmail delivers mail sent to yourname+anything@gmail.com straight to yourname@gmail.com. Give stores the plus version when you sign up, and this filter sorts everything they ever send you. It also tells you who shared your address: if the plus tag starts arriving from senders you never gave it to, you know exactly which company leaked it.

8. Route alerts and reports to a reading queue

From: googlealerts-noreply@google.com

Actions: Skip the Inbox · Apply label Reading queue

The same pattern works for any automated sender: uptime monitors, analytics digests, price watchers. Batch them into one label and read them on your schedule, not theirs. If the keepers deserve more than a label, move them into a proper note system; the beginner’s guide to Obsidian covers a simple way to set one up.

9. Catch calendar invites

Has the words: has:attachment filename:ics

Actions: Apply label Calendar · Never send it to Spam

Invite files (.ics attachments) are small and easy to lose in a busy inbox. The "never spam" action matters more than the label; a meeting invite in the spam folder is how meetings get missed.

10. Delete what you never asked for

From: (deals@example-store.com OR promo@example-store.com)

Actions: Delete it

Reserve this for senders that ignore your unsubscribe requests. Deleted mail sits in Trash for 30 days and is then gone for good, so use the label recipes for anything you might conceivably want back.

The 10 recipes at a glance

RecipeCriteria (field: value)Actions
NewslettersHas the words: unsubscribeSkip Inbox, label Newsletters
ReceiptsSubject: (receipt OR invoice OR "order confirmation" OR "your order")Label Receipts, never spam
SocialFrom: (facebookmail.com OR linkedin.com OR ...)Skip Inbox, label Social, mark read
VIP sendersFrom: (your two or three key people)Star, always important, never spam
CC-only mailHas the words: cc:me -to:meSkip Inbox, label FYI
Big attachmentsHas the words: has:attachment larger:10MLabel Large files
Plus addressesTo: yourname+shopping@gmail.comSkip Inbox, label Shopping
Alerts & reportsFrom: googlealerts-noreply@google.comSkip Inbox, label Reading queue
Calendar invitesHas the words: has:attachment filename:icsLabel Calendar, never spam
Hard deleteFrom: (senders that ignore unsubscribe)Delete

How do you run a filter on email already in your inbox?

Two ways. The first you have already seen: the Also apply filter to matching conversations checkbox at creation time. The second works any time after the fact:

  1. Paste the filter’s criteria into the Gmail search bar (for example unsubscribe) and press Enter.
  2. Click the select-all checkbox at the top left of the result list, then click the sentence that appears: “Select all conversations that match this search.”
  3. Apply the action manually: the label icon to label, the archive icon to archive, or both.

This is also the safest way to preview a new filter idea: search first, eyeball what matches, and only then turn the search into a filter.

Can Gmail filters forward email automatically?

Yes, with one setup step first. Gmail will only auto-forward to addresses you have verified. Go to gear → See all settingsForwarding and POP/IMAPAdd a forwarding address, and click the confirmation link Gmail sends to that address. After that, "Forward it to" appears as an action when you create a filter. A practical use: forward anything matching subject:(invoice) from your side-project inbox to whoever does your books. Gmail caps you at 20 forwarding filters, which is more than most setups ever need.

How do you back up or move your filters?

Filters export to a file. Go to gear → See all settingsFilters and Blocked Addresses, tick the filters you want, and click Export at the bottom. You get an XML file you can import into any other Gmail account with the Import filters link on the same page. Build your recipe set once, carry it to a new work account in two clicks. This settings page is also where you edit or delete existing filters, which beats recreating them from scratch when a sender changes domains.

Start with three

You do not need all ten recipes today. Newsletters, receipts, and social notifications (recipes 1 to 3) remove the bulk of inbox noise for most people, and they take about ten minutes combined. Add the rest as the need shows up. The pattern is always the same: notice mail you handle the same way every time, turn that handling into a filter, and it never asks for your attention again.

If this was your first taste of automating a chore away, the same principle runs well beyond the inbox. Two other starter projects worth an afternoon: setting up Alexa routines for morning and bedtime and 12 useful smart plug automations, both as beginner-friendly as this one.

Evidence and verification

Last verified: July 12, 2026. This guide was checked against Google’s official instructions for creating Gmail rules and filters. Interfaces, plan limits, pricing, and feature availability can change. Confirm any feature or cost that determines your setup before relying on it, and test the workflow with a non-critical example first.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *