Filter Emails by Domain in Gmail

I wanted to set up a filter in Gmail to label all email from particular companies as “advertisements.” Most of these types of emails have different local-parts (the part before the @ sign), but the same domain name (the part after the @ sign). Although Gmail doesn’t support wildcards in its email filters, you can specify the filter in a way that allows it to match all emails from a particular set of domain names. In the “From” criteria of a new filter, you may enter domain1.com | domain2.com | domain3.com and all email from abc@domain1.com or 123@domain1.com or xyz@domain2.com, etc. will match the filter.

Leave a Comment