10 Gmail filters everyone should set up (with the exact syntax)
Most people write one Gmail filter, for one problem, the day it gets annoying enough. That works, but it means the inbox only ever gets rules reactively — never the ones that would have prevented the annoyance in the first place.
These ten are worth creating proactively. Each one is real search syntax you can paste into Settings → Filters and Blocked Addresses → Create a new filter, or into the search box first to preview what it catches (search and filters use the same query language, so this is always the fastest way to check one before you commit to it).
1. Get CC threads out of your inbox without losing them
Being CC'd usually means for your information, not respond now. Treating every CC the same as a direct message is what makes an inbox feel like it never empties.
| Field | Value |
|---|---|
| Search | cc:you@gmail.com -to:you@gmail.com |
| Action | Skip Inbox, Apply label “CC” |
Replace you@gmail.com with your address in both places. The label keeps everything searchable — you are not deleting the thread, just moving it out of the way until you look.
2. Corral receipts and order confirmations into one place
Useful at tax time, and useful the moment you need to find one specific order among a hundred.
| Field | Value |
|---|---|
| Search | subject:(receipt OR invoice OR "order confirmation" OR "your order" OR "payment received") |
| Action | Apply label “Receipts” |
Leave Skip Inbox unchecked here — most people still want to see a receipt land, just want it labelled for later.
3. Silence calendar accept/decline noise
Every RSVP to a meeting you organised generates its own email. For a meeting with ten invitees, that is nine emails that tell you nothing you cannot see in the calendar event itself.
| Field | Value |
|---|---|
| Search | subject:("Accepted:" OR "Declined:" OR "Tentative:") |
| Action | Skip Inbox, Mark as read |
If you actually track RSVPs by email, apply a label instead of skipping the inbox — the point is to stop the interruption, not the record.
4. Rescue a sender Gmail keeps misjudging as spam
Automated tools — CI notifications, monitoring alerts, some newsletter platforms — sometimes land in spam because Gmail scores them on volume and formatting rather than intent. Once you have confirmed a sender is legitimate, stop relitigating it.
| Field | Value |
|---|---|
| Search | from:(alerts@example.com) |
| Action | Never send it to Spam |
This is the one filter worth creating from the spam folder directly: open the message, click the three-dot menu, and Gmail pre-fills the sender for you.
5. Flag mail that names you directly inside a busy list
The opposite problem to #1: on a mailing list or shared inbox, most threads do not need you, but the ones that @mention you do.
| Field | Value |
|---|---|
| Search | list:(team@example.com) "Jane" |
| Action | Star it, Always mark as important |
Use the list's own address (the one its messages are sent to) and the name your team actually types. Gmail's search ignores the @, so a search for "@jane" finds the same mail as the word jane on its own; the name does the matching, and the list part keeps it to that one list rather than every message that mentions you.
6. Forward one sender's mail somewhere else automatically
Useful for routing invoices to a bookkeeper, or a specific client's mail to a shared team inbox, without you relaying it by hand.
| Field | Value |
|---|---|
| Search | from:(billing@vendor.com) |
| Action | Forward it to (an address you have already verified) |
Gmail requires the destination address to accept a verification email first — Settings → Forwarding — before it appears as an option in the filter's action list.
7. Keep one company's mail together across every domain they use
Companies migrate sending domains — Mailchimp to their own domain, or news@brand.com to hello@mail.brand.com — and a filter keyed to one exact address stops matching the moment that happens without telling you.
| Field | Value |
|---|---|
| Search | from:(@brand.com) |
| Action | Apply label “Brand” |
Keying the filter to the domain rather than to one mailbox matches every address there, so a sender rename inside the same domain never breaks it. A move to a different domain still will — nothing catches that automatically. One warning, because the wrong version of this tip is everywhere: Gmail has no wildcard character. A from:(*@brand.com) filter is not matching a pattern; the asterisk is simply ignored. Write the domain on its own.
8. Mute a thread that will not stop replying
For a reply-all chain you were CC'd into once and cannot leave:
| Field | Value |
|---|---|
| Search | subject:("exact subject line") |
| Action | Skip Inbox, Delete it |
Careful with this one: delete is the one action here with no undo after 30 days. Use Skip Inbox alone the first time, confirm nothing you needed got caught, then add Delete it once you trust the filter.
9. One-time cleanup: find the attachments actually filling your account
This is a search, not a saved filter — attachment size and age make sense against the mail you already have, not against mail that has not arrived yet:
| Field | Value |
|---|---|
| Search | has:attachment larger:10M older_than:1y |
Run it, and if the list is long, raise the size (larger:25M) until it is short enough to go through; delete or archive from there. Gmail's filter dialog does offer a size operator for new mail if you want to cap attachments going forward — but it cannot reach into the past, which is what this search is for.
10. Route a shared purchase or subscription across the whole family
If several people share one inbox for a subscription, a streaming service, or a shared purchase account, one filter keeps every related message in one place regardless of which household member's order it was:
| Field | Value |
|---|---|
| Search | from:(@streaming-service.com) OR subject:("your subscription") |
| Action | Apply label “Subscriptions” |
The step every one of these skips
Gmail's filter dialog has a checkbox — Also apply filter to matching conversations — that runs the filter once against mail already in your account. It is unticked by default, when you create a filter and again when you edit one, so a rule you tightened last month and saved without ticking it only ever applies its new version to new mail; everything already misfiled under the old version stays exactly where it is.
That is the gap Gmail Filters fills: describe the filter in plain English, see every message in your account it would catch before anything is applied, then apply it backwards over the mail the old rule missed, as well as to what arrives next.
Stop guessing whether a filter works. Gmail Filters runs your filter against your real inbox and shows you every message it catches before you apply anything — then applies it backwards over the mail your broken filter missed.
Try it free