Search the files inside gmail like a pro with these tricks

Gmail is one of the prominent email service that has lots of features in built and they have their characteristics attributed to certain functionalities since its inception of service. Every user finds it easy to write , delete and receive the emails quickly and its user -friendly too. But have you ever tried of searching recent mails or particular mails in search box of gmail and get tired of it. Yes we do search a lot using names or email address but do you know that gmail has hidden features to search it up even better. Few months back i was mentioning about how to search the files inside Google Drive.

 Now, I'm here to explain that method which is already available on gmail and we rarely or we might not be much aware of  and those searches will help you finding mails more quicker , narrower and even better with good results using simple commands , regular expressions and last modified dates like you do search in google for any information. Stepping up the information one by one for easy understanding

Searching Files using file size

Gmail has its own size threshold and sometimes we don't remember names but file size we do and to decipher particular file size is sometimes hectic with the huge no. of inbox emails we have. If you want to locate the files that has max threshold, then you can type this following keyword in search box like " size : [ size in bytes ] "

search file size in gmail

In the above screenshot it would be clear that file size 5 mb has been located for search results and the ouput of the keyword term are displayed .Suppose you are not sure about file size but you might want to perform a search between file size ranges then you enter this keyword on the search box as " larger_than: " n " m smaller_than: " x "  m "


search gmail with specific file size ranges

In the above search box , i searched for file size larger than 5 mb but lesser than 20 mb and results are displayed as follows

Search files using date & time stamp

   You can search the files inside gmail search box using date with the following term for emails sent / received during particular periodic session by typing " newer_than: "n " days " like newer_than 10d from: me

files using date keyword in gmail

 Here in the above box, i typed " newer than 10 days " which means the emails were sent in recent 10 days by me and the results are displayed and also you can try inputing as " after : date  to :me "

search the email after specific date and time

 Here , i searched the emails which are sent to me from others from 2018 Jan 1st till now from the following command " after : 2018/01/01 to: me " and the results are displayed as follows above. You can also search the emails using Time modifiers between selected time range like for instance if i want to search the emails that was sent between Nov 23 10:20 p.m till Nov 25 11 a.m , the following keyword to follow is " after : " epoch time of specified date to start " before : " epoch time of specified date to end " 

search the emails for specific period using epoch time converter

Here in the above result , the emails which was sent to me from Nov 23rd 10:30 p.m till Nov 25 11 a.m has been displayed using the following keyterm " after:1511455800 before: 1511587800  " these no.s are generated by epoch tool which helps machine to understand it easily. you can convert the time stamps here using the following epoch numeric converter 


Search the emails in gmail using other following commands which gives u direct results 

 For instance if i wanted to search the emails inside the gmail which are marked as starred could be searched like as follows " label:inbox is:starred "

searching emails which are labelled as starred

The emails which are marked as starred under inbox are shown as follows , likewise key terms can be applied for unread messages , spam messages , drafts by replacing the term " starred " with specific terms like "label:inbox is:unread " and likewise if you want to search for a specific recipent emails which was accidently transferred to trash also could be checked using the specific term " from: microsoft.com in: anywhere "


Search the file extension and file name inside the email

You can also search the specific file name or file type with the keyword and terms like typing in search box as " filename: "name of the file " with file extension " like for an instance i want to search the filename called dumps with the file extension ending in .pdf. Here is what i have to type "filename:dumps.pdf" and the result are displayed as follows:


search the emails using filename and file extension


Search the chat conversation [ hangout conversations ] using inchat in gmail

You can also search the hangouts/chat conversation from specific person using " inchat : " name of the recipent " like below

chat conversation search inside email using inchat

As you can see the chat conversation with the specific person has been sorted out and displayed well descendingly.

Some other features like Regular expressions could be not directly used with Gmail instead it has to be adjusted with Google doc to activate it  and some other commands or key terms to use in search box are :  " from:  " subject name " ( Urgent OR  Important )"  for priority mail checks and if you want to compare two emails starting with same name but they have different initials then it can be written as " from : Robert Oberhoff  -Alex -Junior " this will exclude all emails which has junior or Alex as initials or suffix in it.

I just found out these commands and some of the common key terms that could be used for searching anything inside search box in the gmail that could fetch out the results more effectively and less time consuming than regular searching that takes a plenty of time to tick of. I'll come with more updates sooner and will update the list here.