One of the main reason why most of us love Gmail is because of its generous offering in terms of storage space. With more than 7Gb (and counting) free mail storage space, there’s really no need to delete your emails and still maintaining a far distance from blowing it up.
Not deleting emails leads us to next potential problem – messy and unsorted inbox. Good news is, Gmail has a easy workaround. In short, not only you get to keep all emails, they can also be organized, sorted and retrieved easily – all with the use of Labels.
Today we are going to talk about searching and retrieving your mails. The simple “Search Mail” function right beside Gmail logo actually does more than we imagined. In this post, we’ll introduce you the useful Gmail search operators as well as examples on how you can search for almost any type of mails easily via the search text field.
Full list after jump.
Here’s a list of Gmail operators you can take advantage of when you search via the search box in your Gmail. Examples of usage is also provided.
"meeting agenda" (Return only emails with the exact quoted keyword(s).)
subject:Google Alert (Return emails with keyword(s) in titles.)
from:onehack (Return emails received from a specific user, but not the email address.)
to:onehack (Return emails sent to a specific user, but not the email address.)
in:<label name/inbox/trash/spam/anywhere> Example:
in:trash (Return emails stored in a specific location. If you are looking for emails that you have no clue where it is, use
is:unread (Return emails with a specific status. E.g, Starred, unread, read emails or even Gtalk chat logs.)
before:2010/07/01 (Return emails before a specific date.)
after:2010/06/01 before:2010/07/01 (Return emails after in range of or after specific date.)
label:<label name> Example:
label:Comments (Return emails with a specific label.)
filename:presentation.pdf (Return emails with the exact filename attached.)
filename:pdf (Return emails that have the same file type attached.)
has:attachment (A more general search for emails with attachments. Return emails with attachments, regardless of file type and format.)
Here are some operators that allow you to yeild more specific and accurate results.
operator:value -operator:value Example:
has:attachment -filename:zip (Return emails with attachements, filtering away those with .zip attachments.)
operator:value AND operator:value Example:
AND has:attachment (Return only emails received from a specific email that has an attachment.)
The possibility of manipulating these operators are quite limitless. Here are some of the combination of search queries use frequently or find useful.
in:inbox label:facebook is:unread(Search for all unread emails labeled facebook inside inbox.)
in:anywhere from:peter(Search for all emails regardless where it’s stored (spam, inbox, trash) received from anyone with the name Peter.)
is:unread after:2010/06/01 before:2010/07/01(Search for all unread mails for the month of June. )
from: [email protected] has:attachment(Return all emails with attachments sent by
in:inbox "meeting"(Search inbox for any emails with the keyword “meeting” in it.)
from:[email protected] has:attachment filename:zip(Return only emails received from
[email protected]with .zip attachments.)
"facebook" -from:@facebookmail.com(Return all emails with the keyword “facebook”, excluding those sent by
to:peter OR cc:peter(Return all emails sent to or carbon copied Peter.)
label:google OR from:@google.com(Return all emails received from
google.comor labeled “google”.)
"meeting" is:chat(Return all chat log files with keyword “meeting” in it.)