Skip to content
2 min fix 2 min read Recently reviewedBeginner
Quick Answer

Type specific words in the search bar to filter results instantly. For example, type from:"Jane" to find emails from Jane, hasattachments:yes to find emails with files, or subject:"invoice" to search only the subject lines.

How to Use Search Operators in Outlook and Gmail

Estimated Time to Fix: 2 minutes

Applies to: Microsoft Outlook, Google Workspace (Gmail)
Article Type: How-To
Last Updated: 2026-07-20

Summary

This article guides you through using advanced search operators to quickly find specific emails in Outlook and Gmail.

Prerequisites

  • None required.

Instructions

1. Find Emails from a Specific Person

  1. Click into the search bar at the top of your inbox.
  2. In Outlook, type from:"Jane Doe" or from:[email protected] and press Enter.
  3. In Gmail, type from:[email protected] and press Enter.

2. Find Emails with Attachments

  1. Click into the search bar.
  2. In Outlook, type hasattachments:yes and press Enter.
  3. In Gmail, type has:attachment and press Enter. (You can combine operators, such as from:"Jane Doe" hasattachments:yes).

3. Find Emails from a Specific Date Range

  1. Click into the search bar.
  2. In Outlook, type received:yesterday or received:>01/01/2026 and press Enter.
  3. In Gmail, type after:2026/01/01 before:2026/02/01 and press Enter.

4. Verify Success

  1. Review the search results. Only emails matching your specific criteria will appear.

Troubleshooting

WARNING

In Outlook, if your search results are incomplete, the search index might be broken or your mailbox might not be fully synced to your computer.

Symptom / ErrorPotential CauseSolution
Outlook search returns no resultsBroken search index or sync issueHow to Fix Outlook Search Not Finding Emails
Gmail search operator doesn't workTypo in the operatorEnsure there are no spaces after the colon (e.g., from:jane not from: jane).