1

How can I search Gmail so I view and only view all conversations that are both:

  1. in the Inbox (e.g. not Archived), AND
  2. have a specific Label

?

If I look at my Gmail inbox now and see a total of 160 conversations and manually count 60 of those 160 as having label "X" on them in the message list, then I want to do a search such that I only view those 60 "X" messages in the inbox so I can get through them one by one without having to worry about the other 100 conversations.

UPDATE

Find out the reason the answers below do not work. Labels are applied per message, not per conversation. So if the first message of a conversation has label "X" applied to it, but replies to that same conversation do not get the "X" label applied to them, then the conversation will NOT show up when a new reply is received and you search for in:inbox label:X even though the conversation misleadingly displays the "X" label. This becomes clear when you switch "Conversation View" to "off". Replies to conversations do NOT automatically inherit the labels of the first message in the conversation.

2 Answers 2

2

Using is:inbox label:test will get you what you're looking for. For some reason the is:inbox isn't documented on the search operators page, but it should work.

15
  • That did not work. It only showed me a subset (about 20 of the 60 conversations currently in the inbox that have the label). Any other ideas? Commented May 17, 2018 at 15:15
  • Inbox in gmail actually is a label
    – DDS
    Commented May 17, 2018 at 16:06
  • @DDS: Yes, but this solution is not working. Any other ideas? Commented May 17, 2018 at 16:13
  • @ProgrammerGirl Try with label:(inbox X)
    – DDS
    Commented May 17, 2018 at 20:48
  • @DDS: Unfortunately that also only shows the 20, not all 60. Any other ideas? Commented May 17, 2018 at 21:28
1

You mean in the inbox(e.g. Not archived)? Search Label:inbox

Have a specific label X? search Label:X

Both those condition meet? Search Label:inbox & Label:X

You may try the advanced search , type the condition that you need, and it will turn to the search pattern in search textfield

6
  • That did not work. It only showed me a subset (about 20 of the 60 conversations currently in the inbox that have the label). Any other ideas? Commented May 17, 2018 at 15:19
  • I'm not understand what you need exactly, if you have 40 conversations have label X, 20 conversations have label X and label inbox And you want show those 60 conversations, why don't search Label X directly??
    – mosquito chen
    Commented May 17, 2018 at 15:22
  • There are a lot more than 60 messages that have label "X" in my Gmail. However, in the inbox, there are only 60 (plus 100 other e-mails without that label). I want to only show those 60 and nothing else. However, when I run the search Label:inbox Label:X, it only shows me 20, not all 60. Any other ideas? Commented May 17, 2018 at 15:29
  • I'm confused, So other 40 mails show up in your inbox, but does not have label with "inbox"??
    – mosquito chen
    Commented May 17, 2018 at 15:40
  • In the inbox, none of the 160 messages have the label Inbox. I don't think Gmail displays the Inbox label when you are viewing the inbox. However, if I click the Label X link, then I see all 60 do have the label Inbox. However, when searching for Label:inbox Label:X only 20 of them show up, not all 60. Any other ideas? Commented May 17, 2018 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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