label:random shows a bunch of emails with three unread. But when I search for label:random and label:unread, no results are returned. When I only search for label:unread, or is:read, all unread emails are returned, including the three that have label:random. Why?
Why is Gmail is:unread and label:random not returning unread emails with label random?
gmail;gmail labels
The solution was pretty simple. The and was creating problems. It was supposed to be capital.All of these worked:is:unread in:randomis:unread AND label:randomlabel:unread label:randomlabel:unread AND label:random