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 | | and all email from or or, etc. will match the filter.

Leave a Comment