Consider this setup in my Gmail inbox where I have 3 lists:

  • mailing-lists/first-list
  • mailing-lists/second-list
  • mailing-lists/third-list

If I want to search for all unread messages in any sub-label of mailing-lists, is there a better way to search than

is:unread label:mailing-list/first-list OR label:mailing-list/second-list OR label:mailing-list/third-list

What I'm looking for is something more like:

is:unread label:mailing-list/*

  • 3
    +1 This should be implemented. I do not see much advantage in using nested labels without this recursive search.
    – Lazer
    Jul 18 '12 at 7:08
  • 1
    +1 another year later. What is the point of nesting without having any relationship between nested labels?
    – A.M.
    Jul 18 '13 at 2:36
  • +1 nine years later...
    – ira
    Jun 30 '20 at 16:00

If you are using filters to apply the labels, then it should be possible is to create another filter to apply a second label to all the messages. You can then use this second label in your search criteria.


Once you've created your search criteria (i.e. is:unread label:A OR label:B-1), you will notice that the URL contains the search criteria as well. Therefore you can simply bookmark the searches in your browser this way you could quickly go back to that "view" easily.

This does mean that your search criteria will only work on the computer you set the bookmark up on unless you use a bookmark sharing utility or if you use Chrome which remembers your bookmarks on all your devices.


You could try something like is:unread list:[e-mail address of list]. This would work in your particular situation because the first part of your label is the list name.

  • 2
    I'm looking for the same feature: recursive label searching. The solution provided will not work for me, because this is not a mailing list.
    – user9918
    Apr 4 '11 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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