Like most people, I have a few Gmail accounts. I use these accounts mainly for signing up to mailing lists, and also when I need to enter my email address in an online form.
I logged into the main one I use the other day, and found that the filters were not working properly, there were hundreds of emails from mailing lists in the Inbox, and not in their correct labels.
The reason for this, as I found out later, was because some people send the emails with the mailing list’s email address in the “CC” field, and as you all probably know, Gmail filters do not have a section for CC.
I set out to fix this, and after a bit of messing around with the filters, I found that you could use the “Has the Words” field, and enter a string such as:
cc:(someone@list.com)
The above code, simply searches for someone@list.com in the “CC” field, you can also insert:
to:()
subject:()
from:()
which mimic the already available fields.
There is a few other things you can do in the “Has the Words” field, which make using the to:() from:() and subject:() commands useful.
Instead of using the To/From/Subject fields, you can enter something like this into the “Has the Words” field:
to:(someone@there.com) OR cc:(someone@there.com)
which will, as you have probably already guessed, match any emails that have someone@there.com in either the To or the CC fields, which can be very useful for those mailing lists, where some people have the mailing list email address in the TO field, and some people have the mailing list email address in the CC field.
You can also use other operators, OR, AND, NOT, etc, and create big long filters like:
(to:(someone@there.com) AND cc:(someoneelse@nowhere.com)) OR (to:(someoneelse@nowhere.com) AND cc:(someone@there.com)) AND NOT subject:(That Place)
which will simply match all emails where the To and CC are someone@there.com and someoneelse@nowhere.com in either order, and the subject is not “That Place”.
I am still seeing if there is other things you can filter on, like email headers or other things, so I will post another update when I find more info. If you know of other things that you can filter on, please post a comment, and I will add them to the main post.
I hope this has been helpful to some of you. I know it helped me out and now my Gmail Inbox is a lot cleaner then it has been in a while. (Now to find a way to mark all messages as read, like 10000 at a time…..)
-Hurgh-
Like This Article? — Digg IT!