Chapter 2 · Gmail
Find any email
Follow this course in your space: your progress is saved, and the community answers your questions.
Follow for freeTyping "estimate" into search and scrolling through 300 results isn't searching. Gmail understands small keywords, called operators, that say exactly what you want: from whom, when, with which attachment. With about ten operators, you can find any email in seconds.
The operators to know
| Operator | What it does | Example |
|---|---|---|
from: | Sender | from:martin |
to: | Recipient | to:[email protected] |
subject: | Word in the subject line | subject:estimate |
after: and before: | After or before a date (year/month/day) | after:2026/01/01 |
older_than: | Older than | older_than:6m |
newer_than: | Newer than | newer_than:7d |
has:attachment | Has an attachment | has:attachment |
filename: | Attachment name or type | filename:pdf |
label: | In a label | label:estimates |
is:unread | Unread | is:unread |
is:starred | Starred | is:starred |
larger: | Bigger than | larger:10M |
in:snoozed | Snoozed | in:snoozed |
OR | Either one (in capitals) | from:martin OR from:garcia |
- | Except | -from:noreply |
" " | Exact phrase | "purchase order" |
For older_than: and newer_than:, the unit is d (days), m (months) or y (years): 3d, 6m, 1y. For larger:, M means megabytes. Parentheses group things: subject:(estimate OR invoice).
You can combine everything, with no punctuation between operators: a space means "and."
25 searches ready to copy
Replace whatever is [in brackets].
from:accountant has:attachment newer_than:3m: attachments from your accountant over the last 3 months.filename:pdf estimate: every estimate in PDF.larger:10M older_than:1y: big emails over a year old, to delete and free up space.is:unread older_than:7d: unread emails sitting there for more than a week.is:starred: every email you starred to follow up on.is:starred older_than:1m: starred emails forgotten for over a month.from:@[clientdomain.com] newer_than:1m: everything this client sent you this month.subject:invoice after:2026/01/01 before:2026/04/01: invoices from the first quarter.from:me filename:pdf invoice: invoices you sent.has:attachment filename:xlsx: spreadsheets you received.from:[client] (filename:jpg OR filename:png): photos a client sent you."purchase order": the exact phrase, nothing else.in:snoozed: everything you snoozed.newer_than:2d: everything that came in over the last two days.label:estimates is:unread: estimates you haven't read yet.subject:(appointment OR meeting) newer_than:7d: this week's appointments.from:me subject:"following up" older_than:7d: your follow-ups from over a week ago, to check on.from:me larger:5M: big files you sent.to:me is:unread: unread emails addressed directly to you.unsubscribe older_than:1m: old newsletters, to delete in bulk.subject:(application OR resume) has:attachment: job applications you received.subject:(order OR delivery) newer_than:1m: this month's orders.from:[coworker] subject:[project]: the thread about a specific project with a coworker.has:attachment -label:accounting older_than:3m: attachments you haven't filed yet."verification code" older_than:1m: expired codes, to delete.
Search well, in three habits
- Start broad, then narrow down.
from:martin, thenfrom:martin has:attachment, thenfrom:martin has:attachment newer_than:6m. - Add a date as soon as you roughly remember it. Even "less than a year ago" (
newer_than:1y) cuts the results way down. - Keep your go-to searches in a note. The ones you run every week often deserve to become a filter.
Your turn
- Copy the 25 searches into a note.
- Run number 4 and number 6: handle or archive what's been sitting there.
- Run number 3 and delete whatever has no value anymore.
- Find your accountant's last email with an attachment in under 10 seconds.
Recommended tool
All your projects in one place
Flopilot brings your tasks, documents, notes and conversations together by project, solo or as a team.
Premium
Unlock every course of the group Flopilot
Every lesson, new courses as soon as they come out, and the community. No commitment.