Tips & tricks · Communication · Browser · ~10 min a week · 2 min read
Search Gmail like a pro: from:, has:attachment, older_than:
Last reviewed:

In an archive with ten thousand emails, you don't search with your eyes, you search with a query. Gmail has autocomplete and sender filtering built into the interface, but the real power of search shows up once you start combining operators directly in the search bar. Learning five or six of them takes ten minutes and saves you that much again every single week.
A typical scenario
Your accountant asks for an invoice from a vendor you received "sometime in the spring." Without operators, you click through labels, scroll back months, and end up searching manually for the word "invoice" in subject lines. With the operator from:vendor subject:invoice older_than:6m, you have the email in a few seconds — Gmail filters by sender, subject, and age all at once.
How to do it
- Type
from:namein the search bar — it narrows results to just messages from a specific sender or domain (also works asfrom:company.com). - Add
has:attachmentif you're looking for an email with an attachment — it combines with other operators in one query, likefrom:smith has:attachment. - For old emails, use
older_than:6m(months) ornewer_than:7d(days) — handy for cleanup or tracking down a "spring" message. - Combining
is:unread label:clientsinstantly shows you what's still unhandled from a specific label. larger:10Mfinds large emails with attachments taking up space — useful when Gmail tells you your inbox is full.- Operators can be chained indefinitely and refined with exclusions using a minus sign —
from:smith -subject:newsletter, for instance, excludes newsletters from the same sender.
The best tools
- Gmail search operators — built in, free, work instantly with no setup.
- Create filter — a button right in your search results that saves the query as a permanent rule (label, archive, forward).
- Advanced search (the sliders icon in the search bar) — for anyone who doesn't want to memorize operators by heart.
- Outlook — Search Advanced — Outlook offers a similar syntax (
from:,hasattachment:) if that's what you use instead.
What you get out of it
- Time: instead of five to ten minutes of manual scrolling, you find the email in seconds — over a week, that can easily add up to fifteen minutes or more.
- Peace of mind: no more "I know it's in here somewhere, I just can't find it" right before a deadline.
- Precision: you filter by exact criteria, so you won't miss an email buried on the third page of results.
- A habit that carries over: the same logic (keywords plus operators) works in company chat tools or file browsers too.
Pro tip
Combine exclusion with search: from:smith -subject:newsletter filters out bulk messages and leaves you with just personal correspondence from the same person. And once you've fine-tuned a query you keep using over and over, save it with the Create filter button — next time, you won't have to type it again.
Want to go deeper? The handbook has a whole chapter on it — Professional email communication.
Similar tips
Slack search: from:, in:, before:
Operators narrow a search to a specific person, channel, and time period — instead of scrolling through history.
Set working hours for notifications in Slack
A notification schedule automatically quiets Slack outside working hours. It leaves you alone in the evening — and shows colleagues when you're reachable.
Alt+click in Slack: a message stays unread until you deal with it
Read a message on your phone at the bus stop and now there's no trace of it at work? Alt+click puts it back among the unread. And Esc, the opposite way, clears a whole channel.
Was this helpful?
Liked this tip?
I send one like it every week by email. Two minutes to read, hours saved.
The Top 30 tips e-book, free — it lands in your inbox right away.
Then 1 tip a week · no spam · unsubscribe in one click
Prefer a system to single tips? The free email course — seven days, seven emails, one skill a day.