Gmail filters apply actions to messages that match a search. Use them to organise predictable mail, such as invoices or monitoring notifications. Test the match before enabling actions that hide, delete or forward messages, because an overly broad condition can affect important business correspondence.
IN THIS ARTICLE
01 Create a safe first rule
- Open Gmail in a desktop browser and expand the search options.
- Enter a specific condition, such as a known sender plus a distinctive subject term.
- Run the search first and inspect the results. Refine it if unrelated messages appear.
- Choose Create filter and select the intended action. Applying a label is a useful low-impact starting point.
- Review any option to apply the action to existing matching conversations before confirming.
- Send or wait for a new representative message and verify the result.
02 Review interactions
A reply is only filtered when it matches the rule's conditions. Check existing rules under Settings > See all settings > Filters and Blocked Addresses when mail seems to skip the Inbox or arrive in an unexpected location.
03 Use forwarding carefully
A filter that forwards messages needs an authorised destination and the applicable organisation settings. Filter-based forwarding acts on new matching mail; it is not a historical mailbox migration. Never create a rule that sends business mail to an unapproved personal address.
04 Example: label supplier invoices with a narrow Gmail filter
You receive invoices from [email protected] and want to label them without hiding normal conversations with that supplier. Begin by testing the search condition:
from:[email protected] subject:invoice
- Run the search in Gmail and inspect several results.
- Use the search options to create a filter from the matching sender and subject conditions.
- Choose the action to apply a label named
Supplier invoices. - Review the option for applying it to existing conversations before saving.
- Check a new invoice and a different supplier message that lacks the subject term.
Expected result: the invoice receives the label while the unrelated message does not. Keep the initial rule limited to labelling until you have confirmed that it selects the intended mail.
How do I correct a Gmail filter that moved the wrong messages?
Edit or remove the rule, then search the affected locations to recover or relabel messages as needed. Removing a rule does not necessarily undo actions it already performed. If messages were deleted, review Trash promptly and follow the available recovery process.
Use descriptive labels and keep the rule set understandable to the mailbox owner. Exporting filters can help document a configuration, but review imported rules before activation because they can contain forwarding or deletion actions from another environment.