30

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/*

ale
  • 52,972
  • 42
  • 165
  • 314
Penang
  • 429
  • 4
  • 5

4 Answers4

1

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.

enigmafyv
  • 19
  • 1
0

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.

sgmoore
  • 239
  • 1
  • 2
0

Unfortunately, the only way to do this is the longer way you've done in the past. Simply type is:unread label:mailing-list/first-list OR label:mailing-list/second-list OR label:mailing-list/third-list into the search-bar on Gmail.

Perky Bird
  • 36
  • 4
-1

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.

Andris
  • 1,371
  • 12
  • 22