Education News

How To Filter Your Email Using Search Operators –

How To Filter Your Email using Search Operators

by TeachThought Staff

It’s almost 2025, and I’m on what seems to be a never-ending question make email better.

As much as I ‘don’t like email,’ I don’t like phone calls either, but guess what? Sometimes, they’re necessary. It’s impressive that though email is older than the Internet itself, it remains the de facto form of modern communication in many industries. (The fact that my children pretend not to know how to use their email addresses leads me to believe that its days may be numbered.)

When computer engineer Ray Tomlinson sent the first email (to himself) in 1971, he likely never envisioned what it would one day become. Today, companies use email as a hub for project management. There are endless integrations with IFTT, cloud storage, social media, multimedia, and more. It’s also searchable, filterable, taggable, and otherwise almost endlessly customizable.

But exactly how to make those modifications isn’t always clear. It often involves third-party platforms that, at best, work, and at worst, don’t work and end up unsupported and vaporware. Search queries & operators you can use with Gmail

You can filter your Gmail search results using words or symbols called search operators. You can also combine operators to filter your results even more.

How To Use Gmail Search Terms And Operators

While you can set up your Gmail mailbox to display the results of queries like those below, the simplest way to use Gmail search terms and operators is once you know the search terms (what Gmail calls ‘search operators’).

  1. Open Gmail.
  2. In the search box at the top, click Show search options photos tune .
  3. Enter your search criteria. If you want to check that your search worked correctly, click Search to see what emails appear.
  4. At the bottom of the search window, click Create filter.
  5. Choose what you’d like the filter to do.
  6. Click Create filter.

Use a particular message to create a filter

  1. Open Gmail.
  2. Check the checkbox next to the email you want. 
  3. Click More.
  4. Click Filter messages like these.
  5. Enter your filter criteria.
  6. Click Create filter.

Edit or delete filters

  1. Open Gmail.
  2. At the top right, click Settings→See all settings.
  3. Click Filters and Blocked Addresses.
  4. Find the filter you’d like to change.
  5. Click Edit or Delete to remove the filter. If you’re editing the filter, click Continue when you’re done editing.
  6. Click Update filter or OK.

Export or import filters

If you have a backup of your filters, you can import them into Gmail or export them.

  1. Open Gmail.
  2. At the top right, click Settings → See all settings.
  3. Click Filters and Blocked Addresses.
  4. Check the box next to the filter.

Note: Only new messages will be affected when you create a filter to forward messages. Additionally, when someone replies to a message you’ve filtered, the reply will only be filtered if it meets the same search criteria.

You can read more on Google’s support page.

Google Search Operators

Tip: Once you search using search operators, you can use the results to set up a filter for these messages.

What you can search by Search operator & example
1. Specify the sender from:Example: from:amy
2. Specify a recipient to:Example: tso:david
3. Words in the subject line subject:Example: subject:dinner
4. Messages that match multiple terms OR or { }Example: from:amy OR from:david

Example: {from:amy from:david}

5. Remove messages from your results -Example: dinner -movie
6. Find messages with words near each other. Use the number to say how many words apart the words can be. Add quotes to find messages in which the word you put first stays first. AROUNDExample: dinner AROUND 5 friday

Example: "secret AROUND 25 birthday"

7. Messages that have a certain label label:Example: label:friends
8. Messages that have an attachment has:attachmentExample: has:attachment
9. Messages that have a Google Drive, Docs, Sheets, or Slides attachment or link has:drivehas:document

has:spreadsheet

has:presentation

Example: has:drive has:document

10. Messages that have a YouTube video has:youtubeExample: has:youtube
11. Messages from a mailing list list:Example: list:[email protected]
12. Attachments with a certain name or file type filename:Example: filename:pdf

Example: filename:homework.txt

13. Search for an exact word or phrase " "Example: "dinner and movie tonight"
14. Group multiple search terms together ( )Example: subject:(dinner movie)
15. Messages in any folder, including Spam and Trash in:anywhereExample: in:anywhere movie
16. Search for messages that are marked as important is:importantlabel:important

Example: is:important 

17. Starred, snoozed, unread, or read messages is:starredis:snoozed

is:unread

is:read

Example: is:read is:starred

18. Messages that include an icon of a certain color has:yellow-starhas:blue-info

Example: has:purple-star

19. Recipients in the cc or bcc field cc:bcc:

Example: cc:david

Note: You can’t find messages that you received on bcc.

20. Search for messages sent during a certain time period after:before:

older:

newer:

Example: after:2004/04/16

Example: before:2004/04/18

21. Search for messages older or newer than a time period using d (day), m (month), and y (year) older_than:newer_than:

Example: newer_than:2d

22. Chat messages is:chatExample: is:chat movie
23. Messages delivered to a certain email address deliveredto:Example: deliveredto:[email protected]
24. Messages in a certain category category:Example: category:updates
25. Messages larger than a certain size in bytes size:Example: size:1000000
Messages larger or smaller than a certain size in bytes larger:smaller:

Example: larger:10M

Results that match a word exactly +Example: +unicorn
Messages with a certain message-id header Rfc822msgid:Example: rfc822msgid:[email protected] 
Messages that have or don’t have a label has:userlabelshas:nouserlabels

Example: has:nouserlabels 

Note: Labels are only added to a message, and not an entire conversation.

Note: When using numbers as part of your query, a space or a dash (-) will separate a number while a dot (.) will be a decimal. Example: 01.2047-100 is considered as two numbers. 01.2047 and 100.

How To Use Search Operators To Make Your Email Better


Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button