I've a list of email addresses (let's give it a name Cool Email Addresses for understanding purpose)

Email A
Email B
Email C

The emails I've sent and received should be given a label Label XYZ if the email sent or received contains one or more than one email addresses from the list Cool Email Addresses.

How can I create a filter like this?


1 Answer 1


You can create a new filter in Gmail and put this query in the "Has the words" field:

(to:([email protected] OR [email protected] OR [email protected])) 
OR (from:([email protected] OR [email protected] OR [email protected]))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.