Gmail: Create email filters
Filters are a great way to automatically manage similar types of messages that you always deal with the same way. For example, if you always label messages from your manager so they stand out visually in your Inbox, you can have a filter apply the label for you. If you want all messages containing people’s status reports to skip your inbox and go directly to a Status Report label, a filter can do that, too.
Filters can apply any number of different actions to incoming messages, based an any combination of criteria. And the great news is, they’re really easy to create! In this tip, we'll create a filter that applies a Finance label to all messages from your accountant that contain a budget report attachment.
To begin, you need do define the messages you want to filter. You do this by selecting one or more criteria, just as if you were performing an advanced search. In fact, it’s so much like creating a search, that you use the Search box to do it!
1. Click the small down arrow at the far right of the Search bar to open the Search box.
2. Select one or more criteria that define which messages to filter.
3. Click the Create filter with this search link.
The way it works is, Gmail filters all messages that meet all the criteria you select. That is, the criteria are linked together with an implicit “AND.” The more fields you select, the more focused your filter. In the example above, Gmail interprets the filter like this: Watch for all messages from “email@example.com” (AND) where the word “budget” appears in the Subject line (AND) where the word “report” appears anywhere in the message (AND) if it has an attachment. When Gmail receives a message that meets all four of these criteria, it will perform one or more actions on that message. Which actions? That’s what we’re going to define next!
Clicking the Create filter with this search link does two things: First, it finds any existing messages that meet the criteria you just defined. It also opens another screen where you can define one or more actions to take on these messages. For example, you could have the message skip the inbox and go immediately to the Finance label. You could mark it as important and add a star. Or you could make sure it’s never accidentally marked as Spam.
Our example is quite simple. We just want to apply the Finance label to these messages so they show up more clearly in our Inbox. To do this:
Tip: Select a color for the label to make it show up even more prominently!
If you later want to see all your filters, change a filter’s criteria, or delete a filter, open your Gmail Settings from the gear menu (1). Then go to the Filters tab (2) to edit or delete a filter. (You can create a new filter here, too.)