Articles
gmail
Using OR statements in Gmail filtersgmail

Creating filters in Gmail is a great way to help manage and achieve a tidy inbox.

You can create a filter to perform useful operations such as categorising or deleting emails automatically.

Using an OR statement in a filter is sometimes a must. Any aficionado should have this in their tech toolbox!

Syntax Example

Use (condition) **|** (another)

Example

A good example of where I used a OR statement is filtering JIRA updates to automatically go to a special folder. The filter looked something like:

from:(email@gmail.com.au) (person updated an issue) | (person created an issue) | (person assigned an issue)

The above filter will only apply to emails from email@gmail.com.au containing the text either (person updated an issue) or (person created an issue) or (person assigned an issue)