Automate your inbox with filters
Build rules that move, label, star, forward or delete new mail the moment it arrives.
A filter is a rule: when a new message matches your conditions, do something with it. Filters run on the mail server as mail arrives, so they work even when you are not signed in and they also apply to mail you read in phone and desktop mail apps.
Create a filter
- Open Settings and choose Filters.
- Choose Add a rule and give it a name.
- Under When a message matches, choose all or any of the conditions.
- Set each condition. You can test From, To, Cc, Subject or Message body using contains, doesn't contain, is exactly or matches (with
*and?wildcards). You can also test Has an attachment or Size (over or under a number of KB). Use Condition to add more. - Under Then, choose what happens. Use Action to add more than one.
- Choose Save filters. Nothing runs until you save.
What a filter can do
- Move to folder
- Add label (create labels first under Settings, Labels)
- Mark as read
- Star it
- Forward to an address
- Delete it (it never arrives)
- Stop processing more rules
Tip: All is for narrowing: "From contains supplier.com" and "Subject contains invoice" catches only invoices from that supplier. Any is for widening: the same two conditions would catch everything from the supplier plus every message with "invoice" in the subject.
Order matters
Rules run from the top down. Use the up and down arrows to reorder them, the toggle to switch a rule off without deleting it, and the bin to remove it. Add Stop processing more rules when a message should not be touched by anything below.
Check before you save
Choose Check with the server to ask the mail server whether it accepts your rules without changing anything. A plain-English summary of each rule is shown beneath it.
Good to know
- Filters only act on new mail. Mail already in your mailbox is not touched.
- Delete it throws the message away on arrival. It never reaches Trash and cannot be recovered. Be careful with broad conditions.
- Forwarding is done by the mail server and counts toward your mailbox's sending limits. A copy stays in your mailbox.
Common problems
- "Your filters are saved but not running." Another automatic script, such as an out-of-office reply set up elsewhere, may be active. Choose Turn filters on.
- A message was not filtered. It may have arrived before you saved, or a rule above it used Stop processing more rules.
- The label list is empty. Make a label first under Settings, Labels.
More guides in Mail
Triage your inbox with smart views, snooze and send later
Use the Needs reply, Waiting, Promised, Today and Follow up views, plus snooze and scheduled sending, to keep your inbox moving.
Organise mail with labels
Create coloured labels, put several on one conversation and find mail again with the sidebar or search.
Signatures, sender names and extra addresses
Build a signature, choose which one each address uses, and send from an alias such as sales@.
Set an out-of-office reply
Send an automatic reply while you are away, with optional start and end dates.
Use your mailbox in a phone or desktop mail app
Add your PGB Business mailbox to Apple Mail, Outlook, Thunderbird or your phone's mail app using the values from Settings.
Work a shared inbox as a team
Turn a group address such as support@ into a shared inbox with assignments, statuses, internal notes and a response target.