Official Gmail Blog
News, tips and tricks from Google's Gmail team and friends.
Tip: Slice and dice your mail with search operators
June 4, 2009
Posted by Zach Yeskel, Product Marketing Manager
My friends email me all the time with ideas for improving Gmail. Just this weekend, my friend Dave said he wanted a way to select all of his messages with a certain label (like "urgent"). Two weeks ago, Adam came up with the idea of a button that would filter his inbox to only show unread items. Good ideas, but it turns out that doing stuff like this (and much more) is already possible using
search operators
.
For example, Dave would just need to search for "
in:urgent
" to get all items labeled "urgent," and Adam would just search for "
is:unread in:inbox
" to see all the unread messages in his inbox.
Here are a few other useful ways to filter your inbox:
"
to:me is:starred
" shows all messages sent directly to you that are starred
"
is:chat from:heather
" shows all chat conversations you had with Heather
"
is:starred -in:inbox
" shows all your starred messages that aren't in your inbox (a good way to find anything important that you might have accidentally archived)
"
from:elliot filename:pdf
" shows all messages from Elliot that have a pdf attachment
We've written about search operators here before, but lots of people find them hard to remember. That's why we built
Search Autocomplete
in Gmail Labs, designed to make searching in Gmail much easier. Instead of having to remember the exact syntax for advanced searches, you can just start typing, and search autocomplete will help you fill in the rest. If you find yourself doing some of the same searches over and over again, consider creating a permanent link to them using
Quick Links
in Labs.
Update (6/10)
: Revised the example about searching for a label to use "urgent" instead of "important."
Labels
buzz
calendar
Gmail Blog
Google Apps Blog
Google Calendar
googlenew
Inbox
Inbox by Gmail
labs
mobile
Offline
reader
tasks
tip
Archive
2016
Sep
Aug
Apr
Mar
Feb
Jan
2015
Dec
Nov
Oct
Sep
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Aug
Jul
Apr
Mar
Feb
Jan
2013
Dec
Nov
Oct
Sep
Jul
Jun
May
Apr
Mar
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2007
Dec
Nov
Oct
Sep
Aug
Jul
Feed
Google
on
Follow @gmail
Follow
Give us feedback in our
Product Forum
.
Get posts via email
Email:
Powered by
Google Groups
Useful Links
About Gmail
Gmail for Mobile
Gmail for Work