Gmail unread search operator
Gmail in:anywhere is:unread: find hidden unread mail.
Use is:unread to find messages Gmail still marks unread. Combine it with in:anywhere when unread messages are archived, labeled, in Spam or Trash, or hidden outside the inbox.
Use in:anywhere is:unread when Gmail shows unread mail but you cannot find it in the inbox. The query searches unread messages outside the visible inbox, including archived mail, labels, Spam, and Trash.
Short answer
Use is:unread to find unread Gmail messages.
is:unread returns messages Gmail currently marks unread. Combine it with in:anywhere to find hidden unread mail across archive, labels, Spam, and Trash, or use in:inbox when you only want unread messages still in the inbox.
Useful Gmail unread searches
in:anywhere is:unread
Search unread mail beyond the visible inbox.
in:inbox is:unread
Find unread mail still in the inbox.
in:inbox category:primary is:unread
Find unread Primary tab messages.
from:sender@example.com is:unread
Review unread messages from one sender.
newer_than:30d is:unread
Restrict unread cleanup to recent messages.
Ongoing fix
Search clears old unread mail. KeepKnown stops new outsider backlog.
Gmail search operators are cleanup tools. If unread mail keeps coming from people outside your contacts, KeepKnown can move those outsiders to a recoverable label before they create more unread work.
Questions before you connect.
What does the Gmail search operator in:anywhere do?
The Gmail search operator in:anywhere searches across Gmail, including archived mail, labels, spam, and trash.
What does is:unread do in Gmail search?
The is:unread operator returns messages currently marked unread. You can combine it with in:anywhere or in:inbox.
Related inbox workflows
Gmail unread cleanup
Find hidden unread outsider mail before it piles up again.