How To Set Up Email Filtering in Gmail

Author Topic: How To Set Up Email Filtering in Gmail  (Read 1042 times)

Offline nadir-diu

  • Moderator
  • Full Member
  • *****
  • Posts: 125
  • DIU is the best Cisco Networking Academy !!!!!
    • View Profile
How To Set Up Email Filtering in Gmail
« on: December 01, 2010, 12:03:25 AM »
Dear all,
For setting up email filters or organizing your emails into folders is an efficient way to manage your emails. You might want to know how to set up email filters to automatically sort your email into folders for better management.

For example, you may want to have a Facebook filter to separate all your notifications emails from your everyday emails. You could also do this for newsletters that you are subscribed to, emails from family members, or emails related to work. It’s also a great tool to automatically trash or mark certain emails as spam. As you can see, there are a lot of advantages for filtering your emails.

So how do you set them up? Well, I am going to show you how to set up email filters in Gmail, Hotmail, and Yahoo, and point you in the right direction on how to set them up in Thunderbird and Outlook.

Creating Filters in Gmail:
The first thing to point out is that Gmail does not use the tradition ‘folder’ structure. Gmail uses ‘labels’, but they are pretty much the same thing, it just has a different name.

To setup an email filter, click on Settings which is in the top right corner, then click on Filters. If you already have filters setup, they will be displayed. As you can see, my first filter sends all my emails apart from Facebook emails to another email account so I can access them on my mobile phone.
The second filter deletes all my Buzz notifications, or anything with Buzz in the subject.

So to create a filter, simply click on Create a new filter.
You will then be prompted to provide criteria to base the filter on. From the image below, you can base the filter on the following search criteria:
•   From: Who the email is from. This can be an email address or a phrase in the email address such as Facebook. If you include Facebook in the From box, all emails that are from a Facebook email address will be applied to the filter.
•   To: You may have email forwarding or POP access set up on your Gmail account so all your work emails get sent to your personal Gmail account. Therefore, if you want to separate your work emails from personal emails, enter your work email address in the To box. All emails you receive that are sent to the email address you specify, the filter will apply.
•   Subject: If you enter a phrase in the Subject, any emails with that phrase in the subject would be apply.
•   Has the words: If the contents of the email has the words you specify, the filter will apply.
•   Doesn’t have: All emails that do not contain the following phrase you specify, the filter will apply.
•   Has attachment: All emails with a file attached.

Depending on what you want to filter depends on what you enter. In this example, I am going to create a filter to to move all my Facebook emails in to a folder/label. To do this, I am going to enter Facebook into the From box. The reason why I am using Facebook and not is because not all emails are from the domain name, some are from So by just typing in Facebook, I will capture all emails from Facebook, including emails from another domain name that has the phrase Facebook in it.

If you want, you can test the search to ensure it works by clicking on Test Search. If you are happy with the results, click Next Step.

Now I am going to tell Gmail what to do with the emails it filters. I am going to select Apply the label: Facebook because I want all my Facebook emails to go into a Facebook label. If you don’t have a Facebook label, make sure you create it when you select the label in the drop down box. Make sure Apply the label is also checked.

Then all you have to do is click on Create Filter. If you want the filter to sort your current emails, make sure you tick the Also apply filter to xx conversations below checkbox.

Congratulations, hope you have successfully created your Gmail filter.
« Last Edit: December 14, 2010, 11:41:29 AM by nadir-diu »
With thanks,

Dr. Md. Nadir Bin Ali
LMC and Head of Cisco Networking Academy
Daffodil International University