Tips & Tricks · 13 分で読めます

Gmail Filters: How to Set Up Rules and Automatically Organize Your Inbox

Learn how Gmail filters and rules work, step-by-step setup instructions, and 8 essential filter rules every professional should create to tame their inbox.

Mathias Gilson

著者

Mathias Gilson

CEO, Qualtir

Gmail Filters: How to Set Up Rules and Automatically Organize Your Inbox

このページの内容

If your Gmail inbox looks like a pile of unsorted mail, you are not alone. The average professional receives 120+ emails per day — newsletters, automated alerts, CCs, support tickets, team notifications, and actual messages that need a response. Without a system to sort them, every new email demands your attention whether it deserves it or not.

Gmail filters (also called rules) are the built-in solution most users ignore. They run silently in the background, automatically labeling, archiving, forwarding, or deleting messages the moment they arrive — before you ever see them. Set up the right gmail filters once and your inbox starts organizing itself.

This guide covers everything: how filters work, how to set up rules in gmail step by step, and eight specific filter rules you should create today.

What Are Gmail Filters?

Gmail filters are conditional rules that automatically perform actions on incoming emails. Each filter has two parts:

  • Conditions: Who the email is from, what the subject contains, whether it has attachments, and more
  • Actions: What Gmail does when an email matches — apply a label, skip the inbox, mark as read, star, delete, or forward

Think of filters as your personal email assistant that sorts the pile before it reaches your desk. Unlike manual sorting, filters run automatically and apply instantly to every matching email, 24 hours a day.

Gmail Filters vs. Labels: What’s the Difference?

Labels and filters work together but serve different purposes:

  • Labels are like folders — they categorize your email and help you find messages later. You can assign a label manually or automatically.
  • Filters are the rules that trigger automatic actions, including applying labels.

Creating a filter that applies a label to all emails from a specific sender is the most common combination. But filters can do much more than just label: they can skip your inbox entirely (so messages go straight to a folder without creating inbox clutter), mark emails as read automatically, or forward copies to a teammate.

How to Set Up Rules in Gmail: Step-by-Step

Setting up rules in gmail takes less than two minutes once you know where to look.

How to Create a Gmail Filter
  1. Open Gmail and click inside the search bar at the top
  2. Click the Show search options icon (the slider icon on the right side of the search bar)
  3. Fill in your filter criteria — from a specific sender, subject keywords, whether it has attachments, size, etc.
  4. Click Search to preview which emails match your criteria
  5. Click Create filter at the bottom right of the search options panel
  6. Choose one or more actions: apply a label, skip the inbox, mark as read, star it, delete it, or forward it
  7. Optionally, check Also apply filter to matching conversations to apply the rule to existing email — not just future messages
  8. Click Create filter to activate it

Filter Criteria You Can Use

Gmail gives you flexible criteria for matching emails:

CriteriaWhat it matches
FromEmails from a specific sender or domain (e.g., @newsletter.com)
ToEmails sent to a specific address (useful if you have aliases)
SubjectEmails containing specific words in the subject line
Has the wordsEmails containing specific words anywhere in the message
Doesn’t haveEmails that do NOT contain specific words
Has attachmentEmails that include a file attachment
SizeEmails larger or smaller than a specified size

You can combine multiple criteria in a single filter for more precise matching. For example: from notifications@github.com + subject contains merged will only catch merge notifications, not every GitHub email.

Managing Existing Filters

To edit or delete your gmail filters, go to Settings → See all settings → Filters and Blocked Addresses. All your active filters are listed here with options to edit or delete each one.

8 Gmail Filter Rules Every Professional Should Create

These are the highest-impact rules to set up when organizing gmail with filters. Each one takes under two minutes to create and saves time every day.

1. Archive All Newsletters Automatically

Most newsletters don’t need to sit in your inbox waiting for you. Create a filter that catches subscriptions and routes them to a “Newsletters” label you can read when you want.

Criteria: Has the words → unsubscribe OR list-unsubscribe Actions: Apply label “Newsletters”, skip the inbox, mark as read

This single filter will route the majority of marketing emails and newsletters out of your inbox automatically. You can browse the “Newsletters” label when you have time, rather than letting them interrupt your workflow.

2. Star VIP Contacts

Some senders always deserve your immediate attention — your manager, your top clients, your co-founders. Create a filter that stars their emails and keeps them in your primary inbox.

Criteria: From → list your VIP email addresses separated by OR (e.g., boss@company.com OR client@acme.com) Actions: Star it, never send to spam

Now VIP emails get a visual star indicator the moment they arrive, making them easy to spot at a glance.

3. Route Support Tickets to a Dedicated Label

If you receive tickets or notifications from a helpdesk system (Zendesk, Freshdesk, Intercom, etc.), filter all of them to a “Support” label so they don’t crowd your primary inbox.

Criteria: From → @zendesk.com (or your ticketing system’s domain) Actions: Apply label “Support”, skip the inbox

This keeps support traffic organized and reviewable in one place without cluttering your main flow.

4. Auto-Archive CC and BCC Traffic

Emails where you are CC’d rather than the primary recipient are usually FYI messages, not action items. Auto-filing them reduces inbox noise significantly.

Criteria: To → your-email@gmail.com — then check Doesn’t include your own email in “To” field — this is done by filtering messages where you’re NOT in the “To” field directly.

A simpler approach: create a label “CC’d” and add a keyboard shortcut or use the More Actions menu to quickly apply it. For automated routing, use the deliveredto: Gmail search operator combined with your address.

5. Forward Specific Emails to a Teammate

Gmail filters can automatically forward matching emails to another address — useful for delegating a category of email without having to manually redirect every one.

Criteria: From → invoices@ OR subject contains invoice Actions: Forward to accounting@company.com

Now all invoice emails go to accounting automatically, and you can optionally archive them from your own inbox too.

6. Label Emails by Project or Client

If you work across multiple clients or projects, domain-based filters keep their emails sorted. Create one filter per client domain and apply a color-coded label.

Criteria: From → @clientname.com Actions: Apply label “Client: Acme”, never send to spam

Repeat for each client domain. This creates a clean folder structure for client communication without any manual sorting.

Mail Agent logo Take Filters Further with Mail Agent

Gmail filters work on simple rules. Mail Agent understands context — it reads your emails and routes, replies, or flags them based on meaning, not just keywords. Set it up once and let AI handle your inbox sorting intelligently.

Try Mail Agent Free →
Mail Agent for Gmail screenshot

7. Auto-Mark Notification Emails as Read

Many services send email notifications that you don’t need to actively read — deployment alerts, monitoring pings, automated reports, calendar notifications. They’re useful to archive but not worth tracking as unread.

Criteria: From → notifications@github.com (or any notification service) Actions: Mark as read, apply label “Notifications”, skip the inbox

Your unread count will drop immediately and stay low, making it easier to spot emails that actually need attention.

8. Catch and Label Emails with Attachments

If you frequently receive files from colleagues or clients, a filter that catches attachments helps you find them later without searching.

Criteria: Has attachment → checked + From → specific senders (optional) Actions: Apply label “Files & Attachments”, star it

Now you have a dedicated “Files” label that gives you quick access to everything sent with an attachment, ready to browse whenever you need it.

Beyond Built-In Filters: AI-Powered Email Rules

Gmail filters are powerful for simple, keyword-based routing. But they have limitations:

  • They can’t understand intent — a filter on “invoice” will catch every email mentioning that word, not just actual invoices
  • They can’t draft or send replies — filters sort mail, but someone still has to respond
  • They can’t adapt over time — you have to manually update filters when conditions change

This is where Mail Agent fills the gap. Instead of matching keywords, Mail Agent reads emails the way a human would — understanding context, intent, and urgency — and then takes action accordingly. It can:

  • Route intelligently: File a client email under the right project even if the domain doesn’t match perfectly
  • Auto-reply to routine messages: Send a confirmation, redirect a common question, or acknowledge receipt — without you lifting a finger
  • Flag genuinely urgent emails: Identify which messages in a pile actually need a response today

If your inbox automation needs have outgrown simple filter rules, Mail Agent works alongside your existing gmail filters to handle the judgment calls that keyword rules can’t. For more on using AI to manage your Gmail, see our guide to AI email management for teams.

Gmail Filter Best Practices

A few tips to keep your filters effective over time:

Test before activating: Use the search preview (step 4 in the setup guide above) to verify your criteria match the right emails before you apply any actions.

Start with archive-and-label, not delete: Deleting with a filter is permanent and immediate. Label and archive first, then move to deletion only after you’re confident the filter is accurate.

Use the “Also apply to existing conversations” option: When you create a new filter, applying it retroactively cleans up your existing inbox, not just future email.

Review your filters quarterly: Senders change, projects end, and notification systems get replaced. A 15-minute filter audit every three months keeps your rules current and effective.

Combine filters with labels and colors: Color-code your labels so you can visually distinguish email categories at a glance in the left sidebar.

Frequently Asked Questions

Can you create rules in Gmail?
Yes. Gmail calls them "filters" rather than "rules," but they serve the same purpose. You can create filters from the search bar (click the search options icon) or from Settings → See all settings → Filters and Blocked Addresses. There is no limit to how many filters you can create.
What's the difference between Gmail filters and labels?
Labels are categories — they organize emails into named groups. Filters are the automated rules that apply labels (and other actions) to incoming email. You need both: create labels first, then create filters that apply those labels automatically to matching messages.
How do I automatically move emails to a folder in Gmail?
Gmail uses labels instead of traditional folders, but the effect is the same. Create a filter with your criteria, then choose "Apply the label" and "Skip the inbox." Emails matching the filter will go straight to that label (folder) without appearing in your main inbox. You can access labeled emails from the left sidebar.
What happens to old emails when I create a Gmail filter?
By default, a new Gmail filter only applies to future incoming emails. To apply it to existing emails as well, check the box "Also apply filter to matching conversations" when you create the filter. This retroactively applies the rule to all existing emails that match your criteria.
Can I use Gmail filters on mobile?
Gmail filters are configured through the web interface (desktop browser) and apply to your entire Gmail account regardless of how you access it. Once created, filters work on mobile too — email is sorted before it reaches any device. However, you cannot create or edit filters from the Gmail mobile app; use a browser for setup.

Conclusion

Gmail filters are one of the most underused productivity tools available to Gmail users. Setting up rules in Gmail takes minutes but saves hours every week by routing newsletters, notifications, and low-priority mail away from your primary inbox automatically.

Start with the eight filter rules in this guide: auto-archive newsletters, star VIPs, route support tickets, label client emails, and auto-mark notification emails as read. Each filter you create is one less decision you have to make every time you open Gmail.

When your filtering needs grow beyond keyword matching — when you need AI that understands context, drafts replies, and adapts to your email patterns — Mail Agent takes over where gmail filters leave off. For more inbox organization strategies, see our guide to achieving inbox zero with AI-powered Gmail tips.

関連記事