Gmail – How to search Gmail to find conversations that are both in the Inbox AND have a specific Label

gmailgmail-labels

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.

Best Answer

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.