Advanced GMail Filters


Introduction: Advanced GMail Filters

A simple hack to show you how to create more advanced GMail filters then are currently available though the GMail Interface.

The one I will demo is a very simple (and more or less useless) filter that will automatically mark any mail that was filtered into spam as "read" since I don't care to see the unread count on spam, But this technique cane be used for much more.

Step 1: Click "Settings" in the top right corner of GMail, then select the "Filters" and click on "Create a new filter" at the bottom of the list.

Step 2: You will need to fill out the "Has the words" field with "label:spam" without the quotes.

This is the important step. You can use any of the GMail advanced search operators in the "Has the words" or "Doesn't have" Fields. More info about GMail search operators can be found at the link below.

This will allow you to create far more advanced (and useful) filters based on date ranges, attachment names, chats, labels, etc.

Step 3: Then Click "Next Step", and ignore the popup warning

Step 4: Check the "Mark as read" checkbox, and the "Also apply filter to XX conversations below" checkbox.

Step 5: Click "Create Filter" and enjoy.



    • Make it Move Contest

      Make it Move Contest
    • Oil Contest

      Oil Contest
    • Woodworking Contest

      Woodworking Contest

    We have a be nice policy.
    Please be positive and constructive.




    I honestly found this very helpful.

    Hello, and welcome to the Instructables community! It's great that you've decided to tell the world about something you've made by publishing an Instructable. We just wanted to let you know that your project still needs a little more work if you want it to be well received on Instructables. Projects that don't include certain basic elements tend not to get the attention that they deserve, and so we'd love for you to check out the list below of what makes a successful Instructable. Successful projects on Instructables include: - clearly written details of a finished project with instruction - as many steps as are necessary to explain your project - clear images that you took of your project for most, if not all of your steps - an intro image - proper spelling and grammar - appropriate cautions or safety considerations I'll give you another opportunity to make any final changes to your project before we publish it. Once you're all set to go, please republish your project and send me a quick comment letting me know that you've made some changes. I'll give it a quick final check to make sure you're on the right path, and then remove this note. Thanks for your submission and we hope to see your project published soon!

    3 replies

    Im not really sure what your asking for here, this instructable could hardly be simpler. It was all put on one step intentionally as this entire process will only take most people about 30 seconds. I added some additional pictures just incase that was the problem, but if it wasn't please site something specific. Thanks.

    OK, for example, I'd like a filter that says, 'If the mail comes from Fred, Bill, or Bob, label it 'Shed Party'. I'd like to do that in one filter. And if Jane later decides to get involved in the shed party too, I'd like to add her to that filter, rather than make a new one.

    Any suggestions?

    Yes you can use the "or" operator which is two pipe characters (i.e. "||") to seperate the names.

    So in the from box simply fill in "Fred || Bill || Bob" without the quotes. This tells Google you want email from Fred OR Bill OR Bob

    This project looks awesome but there isn't enough documentation of you actually making it to be a full Instructable. There are two things which you could do. 1) If you happen to have images of you making your project you can create some more steps, add those additional photos into your Instructable and then republish your Instructable. 2) If you don't have any more pictures of you working on your project, that's ok too. That just means that your project is better suited to be submitted as a slideshow. Your images are already in your library, and you can use the same text that you have already written for your Instructable so it should only take a few minutes to create your slideshow and show the world what you made! Thanks for your submission and let me know if you have any questions along the way.