Organizing and finding mail

7 Gmail automation rules for receipts, alerts and routine messages

Gmail calls them filters. Each rule below starts with a narrow search, applies a label, and only archives once you have tested it.

Updated Alec Lindsay10 min read

On this page

Want recurring receipts, alerts, bills, newsletters and routine updates to sort themselves without hiding the messages that need you? These Gmail automation rules can do that, as long as you build each one around a narrow search and test it before saving.

Gmail calls these automations filters. Many people call them rules. Either way, the safest pattern is simple: find the right messages, apply a label, decide what should stay in the inbox, and only then think about archiving or deleting anything.

Build the right Gmail filter before you automate anything

A filter acts on messages that match selected criteria. Gmail can apply a label, archive a message, star it, mark it as read, delete it, or forward it. Those choices make filters useful, but they also let a broad search hide something you meant to keep.

Start in Gmail's search options. Enter a sender, recipient, subject phrase or search operator, then run the search before creating the filter. Google's filter instructions recommend checking the results first, then selecting Create filter and choosing the actions.

Useful operators include from:, subject:, has:attachment and newer_than:. Gmail also supports exclusions with a minus sign before a term. Google's search documentation explains how to combine them.

  • Run the search and inspect several matches.
  • Look for near-misses that should stay visible.
  • Apply a label before choosing archive or delete.
  • Save the filter only after the search behaves as expected.

A filter should answer one question: what should happen to this specific type of message?

Rule 1: Send receipts and invoices to a searchable label

Receipts are a good first filter because they arrive repeatedly and you often need them months later. A label such as Receipts or Expenses keeps order confirmations, invoices and payment records together without turning every purchase into an invisible archive.

Combine a known sender with a subject term where you can. Merchants use different addresses and wording, so don't assume every receipt says "receipt" or comes from the same domain.

from:store.example subject:(receipt OR invoice)

The domain above is made up. Replace it with a sender you have checked in your own mailbox. If receipts usually include a file, you can test has:attachment, but only add it if your real messages support that pattern.

Apply the Receipts label and consider starring the message. Keep the inbox copy at first. You might need the email for a return, an expense report, a tax record or a warranty claim. After reviewing real results, you can choose Skip the Inbox if the label gives you a dependable way to find things.

The failure case is a broad subject search that catches customer-service replies or order changes. Search first, then open a few results that look similar but shouldn't be filed away.

Rule 2: Route security and account alerts where they stay visible

Security messages need different treatment from ordinary app notifications. A sign-in warning that disappears into a label can sit unnoticed while someone else tries to get into an account.

Use the real sender address or a subject phrase that appears in your account's messages. Terms such as sign-in, password, verification, login and security alert can help, but only when they describe messages you have inspected.

from:security.example subject:("sign-in" OR "security alert")

The address is made up. Apply a Security alerts label and leave the messages in the inbox. You can also star them or mark them important if that matches how you review Gmail. Don't auto-delete or archive account warnings by default.

A notification from a trusted service may still contain something you need to act on. Test the filter with an existing message, then wait for a normal alert before trusting the rule.

Use the filter to keep a warning visible. You still have to decide whether an unfamiliar sign-in was you.

Rule 3: Label recurring bills and subscription notices without hiding due dates

Monthly statements and renewal notices belong under a Bills or Subscriptions label, but due dates should stay hard to miss. Gmail can sort the notice. It can't replace a calendar reminder, a payment control or your own review habit.

Use a specific sender and subject terms instead of searching for "payment" across your whole mailbox. For example:

from:billing@example.com subject:(invoice OR renewal)

The address is made up, not a real company. Run the search and check whether it catches statements, renewal notices, overdue warnings or unrelated support replies. Apply the Bills label and leave messages in the inbox until the pattern proves reliable.

Once you know the filter catches only routine notices, you can archive ordinary statements while keeping renewal and due-date messages visible. A separate filter may be better for terms such as overdue, cancellation or action required.

A label works best when it tells you what to do next. Bills means review and record. It doesn't mean forget.

Rule 4: Sort delivery updates while keeping order problems visible

Shipping emails fill an inbox quickly. An Orders or Delivery label gives routine tracking updates a home, but a failed delivery or return notice needs a different path.

Filter trusted senders or exact subject patterns, not every message containing "order." That broad word catches order changes, customer-service replies and messages asking you to fix a problem.

from:shipping.example subject:(tracking OR shipped OR delivered)

The sender is made up. Apply an Orders label and test the results. If routine tracking messages create noise, you can skip the inbox after confirming that important exceptions don't match the same search.

Then test a separate search for terms such as:

  • "failed delivery"
  • return
  • "action required"
  • address

Keep those messages visible. If two of your filters could match the same message, check Gmail's current filter settings rather than assuming an order. The risk is simple: a convenient delivery label can hide the one message that needs a reply today.

Rule 5: Move newsletters and promotions out of the inbox before they pile up

Newsletters you actually want don't need to compete with receipts and personal mail. Create a Newsletters or Promotions label, then filter by the exact sender address or a precise subject pattern.

from:publication.example

The sender domain is made up. Apply the label and choose Skip the Inbox only after checking that customer-service messages don't come from the same address. A sender-only rule can be too broad when a company uses one address for marketing and support.

Filtering is different from unsubscribing. A Gmail filter hides or organizes future messages, but it doesn't remove your address from the sender's list. For a newsletter you no longer want, use Gmail's unsubscribe option or a bulk unsubscribe workflow.

I built Gmail Unsubscribe because inbox cleanup often needs that separate step. The average first scan finds about 15 subscription senders, and roughly a third of unsubscribe attempts hit senders with no working unsubscribe mechanism. We tell you when one fails instead of quietly pretending the sender went away.

Pure spam senders and sensitive messages still deserve caution. Look at the sender before you act, since unsubscribing from a spammer can confirm your address is live.

Rule 6: Group routine app notifications without burying work that needs a response

Scheduled reports, analytics summaries and system notifications can overwhelm an inbox when every routine update looks urgent. Labels such as Reports, App notifications or System messages give recurring mail a predictable place.

Use a sender and subject combination. A sender-only filter might also catch a direct reply, a support request or an account warning.

from:reports.example subject:summary -"action required" -error

The domain is made up. Search first and inspect both the matches and the messages you meant to exclude. If the application words its failures differently, add the terms you actually see instead of copying a generic list.

Apply the Reports label and leave action-oriented messages in the inbox. You can archive routine summaries once you've confirmed the exclusion terms work. This kind of rule fails when it treats every automated message as disposable.

Keep the search query somewhere handy while testing. It makes the rule easier to edit when a tool changes its sender address or subject format.

Rule 7: Mark messages that need follow-up instead of letting them disappear

Some recurring emails need a human decision. Approval requests, renewal notices, forms and account messages should go to a Follow-up or Needs review label while staying visible.

subject:(approval OR "action required" OR "response needed")

Apply the label and leave the messages in the inbox. Add a star only if you already review starred mail consistently. A marker without a review habit just creates another small pile of forgotten messages.

Set a recurring personal reminder outside the filter, with a clear action such as "open Needs review and decide on each message." Gmail sorts the mail. You make the decision.

The main exception is a phrase that appears in both urgent and routine messages. Narrow the search with a sender, recipient or more specific subject term before saving it. A follow-up rule should catch fewer messages, not risk hiding a direct request.

Test every filter with real search results before trusting it

The usual setup mistake is a condition that's too broad. Searching for receipt without checking the sender might catch a receipt for a service you need to cancel, a customer-service reply, or a personal message that quotes the word.

Run the query before selecting Create filter. Inspect expected matches and near-misses. Google's search guidance also warns that excluded criteria can behave at the conversation level, so negative operators deserve extra checking.

Use this test for every rule:

  1. Confirm at least three expected matches when available.
  2. Find one message that must stay visible.
  3. Check whether a reply from the same sender needs different treatment.
  4. Confirm that no message should be deleted automatically.
  5. Apply a label before trying archive or delete.

Gmail lets you edit or delete filters in Settings, under Filters and Blocked Addresses. Review each rule after new messages arrive. If the results are wrong, narrow the sender, subject, recipient, date, attachment or exclusion criteria instead of adding more actions. If a saved filter does nothing at all, see Gmail filters not working.

Label-first testing protects against the most expensive inbox mistake. Deletion is easy to automate and annoying to undo.

Know when filtering is the wrong fix for an overcrowded inbox

Filters manage matching messages. They don't remove you from a mailing list, and they don't clean years of existing promotional email on their own. A rule that sends unwanted mail away leaves the subscription active while the next batch quietly accumulates.

For unwanted newsletters, unsubscribe instead of creating a permanent rule that hides every future message. For a large backlog, treat bulk cleanup as a separate job and review the sender before deleting old mail.

Gmail Unsubscribe scans your Gmail inbox, unsubscribes through each sender's official mechanism, and clears old promotional email. Free: unlimited scans and 25 senders a month, unsubscribed and cleared out. Each sender counts once that month, including a sender whose old mail only gets archived or trashed.

Add to Chrome, free
  • Passed Google's CASA security assessment
  • Gmail access verified by Google

Some senders offer no working unsubscribe path. Some tools silently file mail in Trash and call that an unsubscribe. We tell you when an unsubscribe fails, because hiding the result creates a worse cleanup problem later.

Use a filter for mail you still want to receive. Use unsubscribe or bulk cleanup for mail you don't.

Choose labels that make the next review obvious

The best labels are small and action-based. Start with Receipts, Bills, Security alerts, Orders, Newsletters, Reports and Follow-up. Add another only when a real review task needs it.

A label should say what the message is or what you must do next. Duplicate labels that describe the same email in different ways make review slower, especially when several filters apply to one conversation.

Finish each setup with this sequence:

  1. Search for the sender, subject, recipient, attachment or date pattern.
  2. Inspect matches and near-misses.
  3. Apply a label.
  4. Choose whether the message stays in the inbox.
  5. Test again before using archive or delete.
  6. Review the filter after real messages arrive.

That keeps routine mail out of the way without turning your labels into a second inbox.

Sources: Create rules to filter your emails and Refine searches in Gmail, both Gmail Help.

Common questions

Are Gmail rules and Gmail filters the same thing?

Yes. Gmail calls them filters, and most people say rules. A filter matches messages by sender, subject, words or attachment, then applies actions such as a label, archive, star or delete. See Gmail rules for the setup steps.

Should a Gmail rule delete receipts or alerts automatically?

No. Apply a label first and keep the message in the inbox until you have watched the rule work on real mail. Deletion is easy to automate and annoying to undo, and receipts and security alerts are the messages you are most likely to need later.

Does a Gmail filter unsubscribe me from a newsletter?

No. A filter only hides or labels future mail, and you stay on the sender list. To stop the mail, unsubscribe. A filter is for mail you still want to receive.

How do I check that a Gmail filter will not catch the wrong mail?

Run the search in Gmail before you click Create filter, open a few matches, and look for messages that should stay visible, such as replies from the same sender. If the results are wrong, narrow the sender or subject instead of adding more actions. If a saved filter misbehaves, Gmail filters not working covers the usual causes.

Want it done for you? Gmail Unsubscribe finds every mailing list in your Gmail and unsubscribes you from the ones you pick, through each sender's own unsubscribe. The free plan covers 25 senders a month, unsubscribed and cleared out.

Add to Chrome, free
  • Passed Google's CASA security assessment
  • Gmail access verified by Google