Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to filter my incoming Gmail messages and exclude messages that are auto-replies. I was hoping to search against for "does not have the words" X-Autoreply: yes, referencing the email header, but it seems like Gmail doesn't compare against that header.

Is there another way to accomplish this?

share|improve this question
up vote 1 down vote accepted

It looks like there isn't any way to filter message headers using normal Gmail headers. However, since I'm using a Google Apps account, I was able to implement the filter through the Google Apps Control Panel using the Content Compliance feature:

  1. I created a new sub-organization
  2. I added the email account I want this filter to apply to into that organization
  3. I created a Content Compliance setting that checked for the header X-Autoresponse: yes and changed the routing accordingly.
share|improve this answer

One way to identify some of the automated emails is to search for From:noreply@ or subject:(Out of Office AutoReply) as part of your filter system.

You should be able to identify other portions of subjects or email addresses as you start to filter though your emails. Remember, more than one filter can use the same label.

Other possibilities include:

  • confirmation@
  • unattended mail box or unattended mailbox as part of the message.
share|improve this answer
These are great ideas, although (somewhat complicated) by the fact that I'm actually trying to exclude auto-replies from my filter, not include them, which can lead to some funky logic with a lot of ORs and NOTs. – Benj Aug 22 '12 at 2:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.