I know how to create filter for specific mailing list but I want the filter to avoid directly archiving mails which have my mail id in it or my name. Either in the cc or to.

Any idea how I can do that?

Update: Sometimes there are cases where the person who is replying is not even mentioning my name or has my gmail id in the for or cc but just the mailing list in the cc. How do I also avoid those mails from being archived directly?

  • just applied the filter in the answer
    – Sam007
    Oct 10, 2012 at 1:00

1 Answer 1


You can set the filter to exclude emails containing your own email address by entering a minus sign (-) followed by your email address in the To field of the filter settings.

For example, to automatically archive email sent to mylist@list.com, but not when myemail@gmail.com is also a recipient:

  • Go to Settings
  • Click Filters
  • Click Create a New Filter
  • Enter the following in the To field:
    mylist@list.com -myemail@gmail.com
  • Click Create filter with this search
  • Check Skip the Inbox (and any other actions we want the filter to take)
  • Click Create Filter

Although we're entering the email addresses in the To field, it gets applied to both To and Cc.

  • i am trying to create filter for received rather than sent. So do i follow the same steps and simply add mylist@list.com -myemail@gmail.com in the From field?
    – Sam007
    Oct 10, 2012 at 0:05
  • The -myemail@gmail.com definitely needs to stay in the To field, since you want Gmail to filter out emails that have your address in the To or Cc fields. The mylist@list.com part actually depends on how the mailing list is set up. Most mailing lists are set up to show the mailing list address in the To field of the email that you receive. So check the emails that you've received from the list -- if it's set up that way, then create the filter exactly as I explained.
    – efgen
    Oct 10, 2012 at 0:35
  • (continued) However, if the list address happens to be in the From field, then you'll need to configure the filter with the list address in the From field too.
    – efgen
    Oct 10, 2012 at 0:39
  • hey ya you were right. It does come in the To field. Did not notice that. Also how should I modify if there are more than one mail list in the To: Should I simply separate them with a ,?
    – Sam007
    Oct 10, 2012 at 0:44
  • For some reason, this is not working. I applied the filter and the mails sent to me are also being redirected to the archive directly.
    – Sam007
    Oct 27, 2012 at 6:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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