How to Use Gmail Search Operators
[From 20 Gmail Search Operators to Conquer Your Inbox in 2024]
How to Use Gmail Search Operators
Using a Gmail search operator is pretty easy. Just click in the search box (that sits above your inbox) and type in your operator:
Entering your search operators or keywords for searching your inbox messages –works just like Google Search.
From here, just use whatever operator you need to filter your Gmail search results. You can also combine multiple Gmail search operators to filter your results even more.
Gmail Search Features Explained
Any information you remember about that email can be added to one of the suggested parameters:
- From (who sent the email to you)
- To (who actually received the email)
- Subject (name of the email subject)
- Has the words (any words that you remember being in the email content)
- Doesn’t have (anything you know the email doesn’t contain)
- Has an attachment (if the email had attached documents or images)
- Don’t include chats (exclude any chat conversations)
- Size (the size of the email)
- Date within (the time range from one day to one year)
- Search (the folder which you want to include)
Useful Gmail Search Operators
Here are the shortcuts to the above-mentioned parameters you can type in the search bar:
- -(term) – exclude emails with that specific term
- (term or phrase) – search for a specific word or phrase
- +(word) – searching for email messages containing the exact word
- After:(date) – search for emails sent on or after a specific date
- Before:(date) – search for emails sent before a specific date
- Bcc:(name) – search for emails sent that blind copied a specific person
- CC:(name) – search for email sent that carbon copied a specific name
- Category:(category name) – search for email messages in category
- Filename:(name of file) or (type of file) – search for a specific file or type of file attachment
- In:(folder) or (label) – search for emails in that folder or label
- Subject:(word) or (phrase) – search for emails with that word or phrase in
- In:anywhere – search for emails in any of your Gmail folders
So these are the parameters for writing your Gmail search operators, but let’s actually check out some practical uses:
20 Advanced Gmail Search Operators (You’ll Want to Use)
Think of Gmail search operators as shortcuts for quickly finding things in your inbox.
Want a head start?
Check out this list of useful Gmail search operators to help you find exactly what you need:
1. View a List of All Emails Sent by a Specific Person
to:me from:[email]
If you want to view a list of all emails that were sent to you by a specific person, use this search operator. When you start typing in a name after from: suggested contacts from your company and from your Google Contacts will appear below the search bar. Click a contact to fill in their email address.
Example:
to:me from:john@examplewebsite.com
2. View a List of All Emails Sent to a Specific Person
from:me to:[email]
If you want to return emails that were sent to a specific email address, use this Gmail search operator. You can use the operator with a specific email address or you can type the name of the person.
In the latter version, you will see a list of emails that were sent to anyone with this name.
Example:
3. Find Emails You Sent to Recipients in a Particular Field
cc:[email/name]
bcc:[email/name]
Sender and recipient searches won’t apply to the CC (carbon copied) or BCC (blind carbon copied) field. To search these areas, there are separate search operators. Use the cc: or bcc: operators to see a list of emails that were sent in these particular fields.
Example:
cc:John
bcc:john@examplewebsite.com
4. Find Messages from Specific Mailing Lists
list:[mailing list]
To list the messages from specific mailing lists, use the list command followed by the address of the mailing list.
Example:
list:info@example.com
5. Access the Emails According to the Keywords in Them
[keyword]
The most basic search in Gmail is when you don’t use any operator, just type a keyword in the search bar.
For example, if you know you have an email with a specific word somewhere in it, or if there’s a topic you’re interested in searching, simply type that word or phrase into the search bar and hit the Enter.
Example:
meeting
6. List the Emails Containing Exact Keywords
“[keyword1] [keyword2]”
If the phrase you would like to search for contains more than one word, use the “…” quotation marks to start an exact search. This will only return emails that contain the quoted phrase exactly.
Example:
“meeting agenda”
7. Access Emails According to the Words in the Subject Line
subject:[keyword]
You can search for emails by the contents of their subject lines. By using the subject: operator followed by a word or phrase you would like to find, you can specifically search only within the subject lines.
Example:
subject:weekly
8. View a List of All Emails That Contained a File Attachment
has:attachment
You can search only for messages that have an attachment with the has:attachment Gmail search operator. Gmail filters your emails and only shows the messages that contain a file attachment of any kind, regardless of file type or format.
This Gmail search operator will cause the advanced search filters to appear:
Just select the type of attachment you want to see, and Gmail will automatically filter your inbox accordingly.
Example:
has:attachment
9. Find Emails That Contained a Specific Type of File Attachment
has:[file type]
If you use Google Drive and frequently send such files, you can use several search operators for specific Google Drive attachments. “has: drive” will show you any emails with any Drive attachment.
But you can also use specifically “has: spreadsheet” for Google Spreadsheet attachments, “has: document” for Google Docs documents, and “has: presentation” for Google Slides slideshow presentations.
Example:
has:drive
has:spreadsheet
has:document
has:presentation
10. List Emails That Contain YouTube Videos
has:youtube
To search for messages that contain YouTube videos, use the searach operator has:youtube. This will show only the emails that contain an embedded YouTube link.
Example:
has:youtube
11. Search Emails Labels by Filename or File Type
label:[label] filename:[name/extension]
The filename: Gmail search operator can be used to search for emails that have an attachment with a specific title or a specific extension that appears in its name.
For example, if you remember that an email had an attachment with a specific name, you can easily find it with this operator. You can also return any emails with a certain extension.
You can also focus your search to a specific email label by combining with the label operator like this label:important filename:pdf
Example:label:Work filename:pdf
label:Important filename:pdf
label:Home filename:example.txt
12. Return Emails from a Specific Location
in:[label]
Use the in: search operator to find emails in a specific folder, for example, the Spam folder or any custom folder you created. You can also use the in: Gmail search operator followed by “anywhere” to search throughout your entire Gmail history.
Example:in:spam
in:trash
13. Return Emails in a Specific Category
category:[category]
You can return the messages from a certain category in your Gmail account with the category: search operator followed by the name of the category.
Example:category:primary
category:social
14. Find Marked Messages
is:[mark]
You can search for emails with a specific status in your Gmail account. Just put the condition after the is: search operator to return these marked messages.
Example:is:starred
is:unstarred
is:snoozed
is:read
Is:unread
15. Find Messages from a Certain Time Period
before:[date]
newer:[date]
older:[date]
after:[date]
If you are looking for messages from a certain time period, you can use the commands before: and after: for emails sent before or after a specific date.
Alternatively, you can use older: instead of before: and newer: instead of after: as they are practically the same. The date must be given in the date format yyyy-mm-dd.
Example:before:2020-03-01
16. Find Messages by a Specific Label
label:[label name]
You can filter emails that have a specific label. To do this, use the label: Gmail operator followed by the name of the label you’re searching for.
Example:label:urgent
17. Remove Some Messages from the Search Results
-[keyword]
You can use a minus before the word to remove some unwanted messages from your search. This operator will exclude any emails that have a specific keyword you type after the minus sign.
Example:-newsletter
18. Find Messages That Exceed a Certain Size
size:[size]
If you want to list the messages that exceed a certain size in bytes, use the size: operator followed by the number of bytes. This way Gmail will return all messages with attachments or content that make them larger than the size you searched for.
You can also use abbreviations, for example, 15M for 15000000.
Example:size:100000
19. List Emails That Include Multiple Conditions
[operator:value 1] AND [operator:value 1]
You can combine multiple conditions and create more specific and accurate searches. The AND Gmail operator ensures that both of the operator:value pairs apply to your search.
Using two conditions separated with space and without the AND operator gives the same result.
Example:to:john@example.com AND has:attachment
20. List Emails That Comply with One of the Conditions
[operator:value 1] OR [operator:value 1]
Putting OR between two operator:value pairs will return a list of emails that meet either of the two conditions.
Example:to:john@example.com OR list:info@example.com
Summary
Now you know how to use Gmail search operators. Hopefully, your days of getting lost in your inbox are over.
With these features, Gmail allows you to become super efficient with both managing your inbox and sending emails. Combine these Gmail search operators with some solid methods of finding email addresses, and you’ll be an email pro in no time.
Further reading: Google Search Operators: 40 Commands to Know
Comments
Post a Comment