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
| Operator | What it finds |
|---|---|
| has:attachment | Emails with a file attached |
| from:name | Emails from a specific sender |
| to:me | Emails sent directly to you |
| is:unread | Only unread messages |
| is:starred | Only starred messages |
| subject:"word" | An exact phrase in the subject line |
| before:2026/01/01 | Messages before a given date |
| after:2026/01/01 | Messages after a given date |
| larger:10M | Messages above a given size |
| filename:pdf | Attachments 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.