WerasNews

What's happening in AI, software, technology and science; plain and sourced.

Subscribe

How to Create Gmail Filters: Organize Your Inbox Automatically

Steps for automatically sorting newsletters, notifications and invoices with Gmail filters and labels, plus useful search operators and ready-made filter examples.

How to Create Gmail Filters: Organize Your Inbox Automatically
Save Weras Labs on GoogleAdd Weras Labs to your preferred sources to see our articles first in Google search.

Creating Gmail filters lets emails that match certain rules be labeled, archived, marked as read or forwarded automatically. To create a filter, click the search options icon on the right side of the search bar, enter your criteria and click "Create filter." Five or six well-built filters will move a large share of incoming email to the right place before you ever look at it.

Why do you need filters?

Not every email that lands in your inbox is equally important. Automated notifications, invoices, newsletters, system alerts and threads you're only cc'd on sit in the same list as messages written directly to you that need a reply. Sorting each one by hand takes time and makes it easy to miss the important ones.

Filters let you turn that sorting into a rule once. After that, Gmail evaluates every new email automatically.

How to create a Gmail filter, step by step

  1. In the search bar at the top of Gmail, click the search options icon on the right.
  2. Enter your criteria: From, To, Subject, Has the words, Doesn't have, size, or whether it has an attachment.
  3. Click "Search" to check which emails the criteria catch. This step keeps the filter from catching the wrong emails.
  4. If the results look right, open the search options again and click "Create filter."
  5. Choose the action: Skip the Inbox (Archive it), Mark as read, Star it, Apply the label, Forward it, Delete it, Never send it to Spam, Always mark it as important, and so on.
  6. If you want to apply it to existing emails too, check "Also apply filter to ... matching conversations."
  7. Save with "Create filter."

Shortcut: open an email in your inbox and use "Filter messages like these" from the three-dot menu in the top right. The sender's address is filled in automatically.

You can view, edit or delete your existing filters under Settings > See all settings > Filters and Blocked Addresses.

Search operators that actually help

The way to make filter criteria more powerful is through Gmail search operators. You can type them into the "Has the words" field:

OperatorWhat it doesExample
from:By senderfrom:billing@example.com
to:By recipientto:support@yourcompany.com
subject:By subject linesubject:invoice
has:attachmentEmails with attachmentshas:attachment from:accounting
filename:Attachment file type or namefilename:pdf
list:From a mailing listlist:announcements
larger:Larger than a given sizelarger:10M
OREither of several conditionsfrom:a.com OR from:b.com
- (minus)Exclude-from:manager@yourcompany.com

Operators like "older_than:" and "is:unread" are very handy in search, but time-based conditions may not work as you'd expect in filters, because filters are evaluated the moment a new email arrives.

A label strategy

Gmail has labels instead of folders, and one email can carry several labels. Keep your labels few and meaningful. A structure that works:

  • @ToDo and @Waiting: Action labels. The symbol at the start keeps them at the top of the list.
  • Invoices: All invoice and payment emails.
  • Notifications: Automated messages from tools.
  • Newsletters: Content you enjoy reading but that isn't urgent.
  • Clients/Client name: Only if you really need it, using nested labels.

Giving labels colors makes it easier to scan your inbox quickly.

Ready-made filter examples

1. Get newsletters out of your inbox

Criteria: In the Has the words field, type unsubscribe. Action: Skip the Inbox, apply the "Newsletters" label. Note: This criterion may also catch some important emails; check the results with a search first.

2. Collect invoices in one place

Criteria: subject:(invoice OR receipt OR payment) has:attachment Action: Apply the "Invoices" label, star it.

3. Mute tool notifications

Criteria: In the From field, enter the notification address of your project tool, calendar or code repository. Action: Skip the Inbox, mark as read, apply the "Notifications" label.

4. Highlight emails from your manager

Criteria: from: your manager's address. Action: Star it, always mark it as important.

5. Separate threads you're cc'd on for information

Criteria: In the Has the words field, type cc:you@yourdomain.com -to:you@yourdomain.com. Action: Apply the "FYI" label. You can read these in one batch once a day.

Gmail features to use alongside filters

  • Templates: Turn on templates under Settings > Advanced. You can save replies you write often and use them in a few clicks.
  • Snooze: Brings an email back to your inbox at a specific date and time. Handy for tracking things you're waiting on.
  • Schedule send: Using the arrow next to the Send button, you can have an email sent at a specific time.
  • Keyboard shortcuts: After turning them on in Settings, e archives, r replies, c composes a new email and / jumps to search.

Back up and move your filters

As your filter list grows, rebuilding it becomes a chore. In the Filters tab in Settings, check the boxes next to your filters and choose "Export," and all the rules download as an XML file. When you open a new account or want to share the same setup with a teammate, you can load that file with "Import filters." Using a shared filter set across a team, especially one that gets notifications from the same tools, means everyone organizes their inbox with the same logic.

Know the limits of filters

Filters only run the moment an email arrives, and only with the criteria you've entered. A tool that changes its sender address, or an invoicing system that changes its subject line format, can make your filter quietly stop working one day. So once a week, take a quick look at the labels fed by filters that archive and mark as read: are the emails that should arrive still arriving, and are the wrong emails landing there?

Filter maintenance checklist

  • I test every filter with a search before creating it.
  • I review my filter list every three months.
  • I delete filters that no longer help or that overlap.
  • No rule accidentally archives important senders.

Filters that simplify your inbox also make it easier to practice the inbox zero approach we cover on our blog. If your team needs a solution that automatically pushes support, sales or order emails into your own systems, take a look at our custom integration services.

Conclusion

Creating Gmail filters is the most effective way to organize your inbox once and have it stay organized on its own. Start with filters for newsletters, notifications and invoices, then shape your daily flow with action labels. Don't forget to test every filter with a search and review the list regularly.

#gmail#email management#automation#productivity

Frequently asked questions

Do Gmail filters apply to existing emails too?

If you check "Also apply filter to matching conversations" when creating the filter, it applies to existing emails that match the criteria. If you don't, it only affects new incoming email.

Where do I find my filters in Gmail?

Click the Settings icon, choose "See all settings" and open the Filters and Blocked Addresses tab. From there you can edit, delete, export or import filters.

What's the difference between a folder and a label in Gmail?

Gmail uses labels instead of folders, and one email can have multiple labels. A label combined with the "Skip the Inbox" action works like a folder in practice.

What should I do if a filter archives an important email by mistake?

Open the filter from the Filters tab in Settings and narrow its criteria, for example by excluding specific senders with the minus operator. Archived emails aren't deleted, so you can find them again under All Mail.

About the author

Habip Dayan

Habip Dayan

Founder of Weras Labs

Habip Dayan is the founder of Weras Labs, a company that builds software products for professionals and teams. He has been building software since 2018 and writes about AI, cloud architecture and product design.

Comments

Be respectful; no ads or personal data. Comments that break the rules are removed.