Scrolling through hundreds of emails looking for the one with a PDF attached from three months ago is slow, and it doesn't have to be the only way.

Gmail's search bar accepts operators — short keywords that narrow results by sender, date, attachment, and more, combined however you like.

Here's the trick:

Type operators directly into the search bar, with no space around the colon, and combine several at once for a precise result.

Operators worth knowing

OperatorWhat it finds
has:attachmentEmails with a file attached
from:nameEmails from a specific sender
to:meEmails sent directly to you
is:unreadOnly unread messages
is:starredOnly starred messages
subject:"word"An exact phrase in the subject line
before:2026/01/01Messages before a given date
after:2026/01/01Messages after a given date
larger:10MMessages above a given size
filename:pdfAttachments of a specific file type

Combine them freely: from:maria has:attachment after:2026/01/01 finds every attachment Maria has sent you since the new year, in one search.

Where it helps most

Finding one specific email among thousands in seconds, instead of scrolling or hunting through labels.

Found a faster way to do this, or noticed it works differently on mobile? That’s what the comments are for — this section connects to your comment system of choice (Disqus, giscus, etc.) once the site is live.