Gmail search has been around for quite some time, however, to get the most out of your search, you need to take advantage of some of the same tricks that you’ll find on Google.
For the results of an email search or email content is correct, you need to use the following syntax:
* Search by label. Gmail allows users to manage email by label, which is very convenient. For each type of email, users can create a label like “Network Administrator”, and then create a filter that automatically assigns this label to the email address sent to the mail address email@example.com.
Syntax: label:keyword. For example: label: admin network wizard (return result is the email labeled network administrator and contains the word wizard).
* Use quotation marks (“”) to return exact matches of keyword-based emails within quotes.
Syntax “keyword to search”. For example, “network administrator posts”.
* Subject (subject): Search for email with the subject title.
Syntax “subject: search keyword” (excluding quotation marks). For example: subject: message from network administrator.
* Search by Origin (from): The results will look for emails that originated from “search keywords”.
The syntax is “from: sender name or full email address” (excluding quotation marks). For example: from: network administrator or from: firstname.lastname@example.org.
In contrast, you can also find emails that send to (address) a certain address with the same syntax, rather than from to. Also, the same applies for email attachments (cc) and anonymous attachments (bcc), replacing cc or bcc with the location of.
* Find in folders: Gmail mailboxes are divided into folders such as inbox, trash, spam .. and when you are in the directory, the search results will Only show emails in that folder. So, if the syntax is in: label name or print: inbox / trash / spam / anywhere (where is find all directories). Example: To find emails assigned a certain label, type in: network administrator (network administrator is the name of the label) or print: network administrator inbox to find the email in the mailbox with the network administrator letter.
* Search by status. In Gmail, in addition to the label, you have other types of email markers, such as starred. Therefore, when looking for an email with starred content as you like, then typing the syntax is:starred keyword search.
If you want to search for unread/read or chat (Gtalk in Gmail) type is: syntax is: unread/read/chat keyword search.
* Search by time. If you can remember the time it takes to find the email, you can easily find a fixed time period with the syntax:
– before: yyyy/mm/dd Keyword search: find emails before the time set. For example: before: 2018/12/30 good luck New Year will filter out emails with letters New Year sent before 30-12-2018.
Likewise, email arrives after a timeline with the following syntax: yyyy/mm/dd or a combination of before and after to search for a specific time period.
For example: after: 2019/01/15 before: 2018/12/30 happy New Year
* Search by file name. Emails with attachments can still be found via the filename syntax: filename.format (format is the file format).
For example we need to find the file gmaillogin.pdf attached in an email from the mailbox then type filename:gmaillogin.pdf.
If you do not remember the filename, you can find and filter only with the file format. The syntax would be filename: format. For example: filename: pdf.
Finally, to find all the email attachments (file attachment), use the has: attachment.
For example: from:gmailloginentrar has: attachment, the result returned will be the email from gmailloginentrar attached file.
The search syntax may be combined to define the search results for the most accurate results. When the number of emails over several years up to several thousand to tens of thousands, the application of the syntax will be very effective.
* Minus “-“. Use when need to remove context. For example: has: attachment -filename: zip, the result is the email containing the attachment but does not include zip files.
* Either (OR) or AND (AND). Put OR and AND in the search syntax to add search options.
For example: from: email@example.com OR from: firstname.lastname@example.org, search for emails sent by either of these addresses. Replacing OR with AND, we have emails sent by both addresses.