Better searching in Gmail

By ITworld tips  2 comments

by James Gaskin -- Just as you can specify a Web site for Google searches ("google tips" site:itworld.com), you can use a variety of search operators with Gmail. Two caveats: Gmail searches won't suggest spelling for you or handle plurals ("dog" won't return "dogs").

Common e-mail header information (to, cc, bcc, subject, and from) can be added to search queries. Examples include "to:John" or "to:john@doe.com", "bcc:Boss", "subject:netbooks". Add the "in:anywhere" query and include the Trash and Spam listings in your search (they're ignored in regular searches).

Gather all messages with attachments by searching "has:attachment". Narrow that list by searching for "filename:doc" or "filename:pdf" to return just those types of attachments. All file extensions work.

Searching by time requires you to put the date in the form yyyy/mm/dd. Search after the Ides of March using "after:2009/03/15" and you'll get all messages after, but not on, March 15th. Search for earlier messages using "before:2009/03/15" and you'll get all message before, but not on, that date.

Labels in Gmail take some people by surprise, and a few have trouble making the switch from nested folders to labels. Just remember a message can only be in one folder, but it can have multiple labels.

Search using the labels by adding "label:inbox" or "label:sales" in the query, depending on your predefined labels. System labels such as starred, drafts, spam, trash, read, and unread work too.

Boolean operators AND, OR, and NOT can be used, as can parentheses and braces for grouping search terms. Searching "from:jane subject:(zoo|tigers)" will return messages from Jane about the zoo or tigers.

Yes, most of these tips work in Calendar, Docs, and other Google Apps.

This tip comes from Scott Granneman, author of Google Apps Deciphered. Prentice Hall.

2 comments

    Anonymous 2 years ago
    Unfortunately you cannot ad it as a label and have link for it.
    Anonymous 2 years ago
    Excellent. And me who thought I knew it all...Can't wait to try out the new tricks.Thanks a lot!

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      SaaSWhite Papers & Webcasts

      White Paper

      Free Trial: vRanger, the Powerful VMware Recovery Solution

      When disaster strikes, don't waste hours and dollars recovering critical data. vRanger delivers blazing-fast speed and granular recovery for your VMware applications and data. Get your free trial today.

      Webcast On Demand

      Configure, Don't Customize Your Service Desk

      Join Pink Elephant Analyst George Spalding and Nimsoft Service Desk expert Tim Rochte to learn the perils of customizing your service desk and losing flexibility to adapt to business changes.

      Sponsor: Nimsoft

      Webcast On Demand

      Enabling your service desk to be the front face to IT

      Your service desk should be the one stop shop for internal and external customers. But, in order for IT to be the orchestrator of knowledge and the service catalog, you need to provide excellent service and quick response times.

      Sponsor: Nimsoft

      White Paper

      Unified IT Monitoring & Management in Your Environment

      At the very start of the IT industry, "monitoring" meant having a guy wander around inside the mainframe looking for burnt‐out vacuum tubes.

      White Paper

      The Journey to the Private Cloud

      Both business and IT need the agility enabled by the private cloud. Now you can apply technologies and processes pioneered by public cloud services to your own data center.

      See more White Papers | Webcasts

      Ask a question

      Ask a Question