arrow_back Back to Notebook
gmail
gmail
January 10, 2019

Using OR statements in Gmail filters

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 protected]) (person updated an issue) | (person created an issue) | (person assigned an issue)

The above filter will only apply to emails from [email protected] containing the text either (person updated an issue) or (person created an issue) or (person assigned an issue)

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch