Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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?

share|improve this question

5 Answers

up vote 7 down vote accepted

Updated: There is a blog today about updated Gmail search modifiers that allow you to do this with a simple search!

has:nouserlabels

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:

label: Search for messages by label*

There isn't a search operator for unlabeled messages

Example: from:amy label:friends
Meaning: Messages from Amy that have the label "friends"

Example: from:david label:my-family
Meaning: Messages from David that have the label "My Family"

share|improve this answer
@Mike would you know if that is still the case now? It has been over a year since the question was answered. One would hope for at least a lab feature – kristof Aug 3 '11 at 12:08
It does appear to still be the case. I recommend the other answer here as a good solution. – Mike Houston Aug 3 '11 at 19:07
To me it too seems to be the case. But: In this video, at 02:00 it seems to be that there is a way to filter out those labelled messages! youtube.com/watch?v=FBDVthKC8IU#t=2m00s The only explanation I have for this is that the presenter actually archives all messages that she labels and then "obtains" them again from the archive to display them in the (multiple) inbox view! – grunwald2.0 Aug 8 '12 at 8:36
Answer updated to reflect new Gmail search modifiers – Mike Houston Nov 15 '12 at 10:11

One way you can do it is by using the minus operator on the label operator. So for example:

-label:tag-a -label:tag-b -label:tag-c

or for one-word tags:

-label:{taga tagb tagc}

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, Unlabelled, to search for all the conversations without a real label.

share|improve this answer

Google has the operator has:nouserlabels now. It works like a charm for what you want to do.

I don't know why it was so difficult to find for so long. Maybe it is fairly new.

share|improve this answer
2  
It is new. It was part of an update in the last week. (Also mentioned in an update to the accepted answer.) – Al Everett Nov 21 '12 at 15:53
Well, it doesn't work like a charm, bringing up a bunch of posts that have labels also, but I'm excited that they are finally implementing something. – Lance Roberts Nov 26 '12 at 16:39

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

share|improve this answer
1  
The question was to show all messages. Your answer just limits it to the inbox. – Jacob Jan Tuinstra Feb 18 at 20:46

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:

has:nouserlabels -in:Inbox -in:Draft -in:Sent
share|improve this answer
"All Mail" is more than a label. It is literally all your mail. – Al Everett Apr 2 at 23:39
I'd also add -is:chat – briankb Apr 18 at 4:57

Your Answer

 
discard

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.