I'd like to sort all of my Gmail messages that don't have label, so I can process them (I miss some every now and then). I can sort by every label by clicking on it at the left, but how do you sort the unlabeled ones?
|
Updated: There is a blog today about updated Gmail search modifiers that allow you to do this with a simple search!
Note: Because of Gmails threading you will have labels on some of the messages in the derived list because some messages in a thread will have labeling while some won't. Original answer: The Gmail advanced search help page says:
|
|||||||||
|
|
In my case I had lots of rubbish in the All Mail folder, mail that should have been deleted but accumulated there for some reason. I wanted to get rid of it without touching anything that was labelled including the nonuser labels. This did the trick:
|
|||||
|
|
|
This works very well, except in my experience, it only shows 20 per page, no matter what your settings are, and won't show the total number to fix, but still... got the job done! Put this in your inbox search box: in:inbox has:nouserlabels |
|||||
|
|
Google has the operator I don't know why it was so difficult to find for so long. Maybe it is fairly new. |
|||||||
|
|
One way you can do it is by using the minus operator on the label operator. So for example:
or for one-word tags:
This is probably only practical if you don't have a lot of labels. Additionally, if they don't change often, you can include a link to this search so that it easily accessible from Gmail. There is a Google Labs product which puts a box of links on the left side and allows you to customize them. Just add a link to this search query and you'll be able to access your untagged messages easily. It seems like there is a greasemonkey script which will work too. Here is the script's website. It creates a special label, |
||||
|
|
