Hack GMail Search - Part 1

image

Courtesy:zackv

During my college days I was in lot of yahoo groups and my mailbox gets floated with pile of mails. GMail came as saviour for me by offering 1 GB of initial mail space. There started my curiosity for digging the Gmail features. One such great feature of Gmail would be it’s search feature.

Almost 7/10 people would be using Gmail as their mailing client will be aware of the search facility, the labels and the filters. But I am doubtful that you won’t be making the maximum use of the search facility. These facilities which are available only in Gmail are really makes the maintaining the mails easier than any other email client.

The most useful is the search facility. If one would have experienced the usage of Labels and filters, then the search operation makes the process easier. First let me say few descriptive words regarding the jargons I used.

Labels: A name, like a file folder given to some set of mails, automatically or manually either by filter or manual.

Filter: Set of rules used to filter out the incoming mails. Filters do serve the purpose of filtering and has some few operations that should be done after filtering , such as Forward to another mail id, Apply a label, Star the mail to display that the mail is important, Archive it, or even trash the mail if you think that some mails which matches the filter criteria.

Search: After one created the filters, labels etc. now you are ready to demystify the power of search.

Now let we see how to search mails that have only sent to you. There are two ways to input your search query, one is through the default search and the other is the simple search option.

Now for a beginner let we go for the simple search option, which by default has it’s separate section of inputs.

From:

If you want to search your mailbox on the basis of from address i.e searching the specific mail sender. Example 1: Let we assume you have lot of mails from yahoo groups, from your friends, your boss, your love etc… Now you need to extract the mails which have arrived only from yahoo groups.

Here one thing you have to note, when a mail is sent your from group, the TO address of the mail is the yahoogroup address and the FROM is the one who sent you the mail. If the mail have been arrived from the group moderator, then the FROM address will contain the "yahoogroups.com" id. Type in TO: yahoogroups.com

Example 2: Extract all the mails from friends, say abc,abc1,abc2. Then your query goes like this.

FROM: [email protected] OR [email protected] OR [email protected]
If you are not concerned about the mail service i.e either yahoo or gmail etc. you may neglect the text after @. Let me assume that your friend has several mail accounts with different service providers, but uses the same username i.e abc( [email protected] , [email protected], [email protected], [email protected] etc) FROM : abc OR abc1 OR [email protected] The above query fetches all the mails which has the email id username in abc , abc1 irrespective of the mail service and mails from [email protected]. It is really a cool feature.

Example 3: Extract mails based on your subject. Say, if you have lot of mail with the subject names containing Chennai, Kolkatta, Mumbai etc. Now you are in need of mails which has the subject Chennai and Mumbai.

SUBJECT : chennai OR kolkatta or SUBJECT: -mumbai

Example 4: Extract all the mails which has a word or set of words. Say if your mailbox has lot of fresher job related matter which have arrived from groups, but now you are in need to extract mails which has the word “fresher” and not the word “experienced”.

HAS THE WORDS : FRESHER -EXPERIENCED

Example 5: Extract all the mails which don’t have the words you want. In the previous example we are not in need of mails contain the word “experienced”.

HAS THE WORDS : FRESHER DOESN'T HAVE: EXPERIENCED

Example 6: Search the mail which has only the attachment. Now let me assume that you got lot of mail which would have arrived from your friends, groups etc. with pictures, documents etc. You are in need to extract mails only from your friends (i.e. considering mails not from yahoo groups) with attachments.

TO: -yahoogroups.com Has Attachment: Check box should be in CHECKED Status.

Now in the above examples you have saw some example which would have made you feel comfortable in searching. Now we are going to explore another important feature of GMAIL search. The Search based on the Date.

In the simple search, GMAIL provides DATE search facility. In the textbox you have a provision for typing the months, year, date, day which ever you like to search based upon your wish.

Format:

  1. September OR Sep
  2. September 2005
  3. 2005
  4. 5th September
  5. 6th September 2005
  6. 09/6/2005, note it's in the format of MONTH/DATE/YEAR
  7. today
  8. yesterday
  9. 2005/09/25 ( YEAR/MONTH/DATE), this is the format that the search engine widely uses.

Then you have a dropdown list namely “DATE WITHIN”. It is used to expand the range of date from the given date.

Example: Type “today” ( without quotes ) or Today’s date, then in the dropdown list select “1 day”, now the search returns the mails arrived in the one day span i.e yesterday and tomorrow ( and even day after tomorrow ). But tomorrow sounds absurd, but for the search engine, it considers in such a way, I hope these people has to improve more.

Some results of the date search
Today (2004/9/24)

1 day

after:2005/9/23 before:2005/9/26
Today

3 day

after:2005/9/21 before:2005/9/28
Today

1 week

after:2005/9/17 before:2005/10/2 (note the month )
Today

2 week

after:2005/9/10 before:2005/10/9
Today

1 month

after:2005/8/24 before:2005/10/25
Today

6 months

after:2005/3/24 before:2006/3/25 ( expanded to next year, March )
Today

1 year

after:2004/9/24 ( last year ) before:2006/9/25 ( next year )

This is the very basic search facility that one can make use of while searching. It would be easy for the novice and of course who feel boredom for tying the search query. But this feature lacks few important and cool search features. Let me explore that in my next blog. Please allow me for a break.

Continue Reading the Second Part Shortly…