We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

Save Time in Gmail With Smart Queries

Google's mail service packs tons of search functions to help you find messages faster. Here's how to put them to work.

Right now, Gmail tells me I'm using about 2.6GB of the 25GB storage capacity that comes with my Google Apps for Business account. For many of you Gmail users out there, the amount of data archived in your account could be a heck of a lot more. My point is this: The more messages you've got archived in Gmail, the harder it can be to find what you need when you need it. So if you're not already deeply intimate with Gmail's advanced search operators, there's no time like the present to get to know them.

An operator is a search term that Google recognizes as a command. It can be a symbol, such as a hyphen, or a word, such as "to" or "from". Gmail recognizes a long list of operators that can help narrow down your search results and weed out distracting stuff that isn't what you're looking for. Here are a few of my favorite Gmail operators.

to: or from:

Typing from:[email protected] will show you only messages sent to you by PCWorld editorial director Steve Fox. Try it with any person who sends you mail. You can also use names, such as from:steve. And if you want to find messages you sent to a specific person, or that you were cc'd on to that person, to:steve or to:[email protected] works the same way. (cc: and bcc: work too.)

before: or after:

If you have a rough idea of the date the message you're searching for was sent, try before:2011/03/01 or after:2011/03/01. When you're searching for very old messages, this can save you a lot of time and aggravation.


I'm only aware of one context in which this command does anything, and that's has:attachment. I'm always looking for old messages with important attachments in them, so this apparently single-purpose operator is one of my favorites. (BTW, if any of you are aware of another use for the 'has' operator, I'd love to know about it.)


If you actually know the name of the file attachment you're looking for, filename:presentation.pptx is practically indistinguishable from magic.

- (hyphen)

You might not know exactly what you're looking for, but sometimes you're pretty clear about what you don't want. The hyphen is for those times when your search results are hopelessly cluttered with messages that are close to what you're looking for, but not close enough. So when your from:steve search comes back totally jam-packed with e-mail about your Facebook Scrabble games, try from:steve -scrabble to clear things up a little.

These are, of course, only a few of the Gmail search operators you can use. For a complete list, visit the Gmail Using advanced search page.

IDG UK Sites

Acer Aspire R11 review: Hands-on with the 360 laptop and tablet convertible

IDG UK Sites

Apple Watch release day: Twitter reacts

IDG UK Sites

See how Framestore created a shape-shifting, oil and metal based creature for Shell

IDG UK Sites

Apple Watch buying guide, price list & where to buy today: Which Apple Watch model, size, material,?......