Gmail advanced search
Gmail search operators: complete advanced search guide.
Use Gmail operators such as from:, subject:, in:anywhere, is:unread, older:, newer:, has:attachment, and exact phrases to find the right message faster.
Gmail search operators are short commands that narrow search by sender, subject, location, unread state, attachment, date, and exact phrases. Start broad, then add operators until the result set is safe to review.
Useful Gmail operator examples
from:alex@example.com
Find mail from one sender.
subject:"invoice"
Find messages with an exact subject phrase.
in:anywhere is:unread
Find unread mail beyond the visible inbox.
has:attachment filename:pdf
Find messages with PDF attachments.
older_than:30d
Find older messages for cleanup.
Ongoing prevention
Search finds old mail; screening reduces the next backlog.
Gmail operators help you clean up existing mail. KeepKnown screens unknown senders before they create more unread inbox work.
Questions before you connect.
What are Gmail search operators?
They are search commands such as from:, subject:, in:anywhere, is:unread, older_than:, and has:attachment that narrow Gmail results.
Which Gmail operator searches all mail?
Use in:anywhere when you need Gmail to search beyond the visible inbox, including archived mail, Spam, and Trash.
Related inbox workflows
Gmail search cleanup
Find old outsider mail, then stop the next backlog.