{"id":1444,"date":"2016-01-14T19:27:28","date_gmt":"2016-01-14T19:27:28","guid":{"rendered":"http:\/\/www.hostingnotes.com\/?p=1444"},"modified":"2017-10-07T15:16:09","modified_gmt":"2017-10-07T15:16:09","slug":"search-gmail","status":"publish","type":"post","link":"https:\/\/www.webdevelopersnotes.com\/search-gmail","title":{"rendered":"Search Gmail &#8211; Quickly locate the email message with these commands"},"content":{"rendered":"<p>Because of the large <a href=\"\/\/www.webdevelopersnotes.com\/gmail-storage\" title=\"Gmail storage space\">storage space at Gmail<\/a> you can keep emails forever&#8230; no need to delete any message. This means you can potentially store tens of thousands of emails. And herein lies a problem &#8211; <em>How do you search for an email lying in your Gmail account when you have hundreds&#8230; even thousands?<\/em> It&#8217;s like trying to locate a needle in a haystack.<\/p>\n<p>This is where Google&#8217;s search algorithms come into play! The company, as we all know, has been leading the web search field for some years now. Gmail search takes advantage of in-house search technology of Google.<\/p>\n<div class=\"clr\"><\/div>\n<div class=\"bottom-ads\">\n<h4>Sponsored Links<\/h4>\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- Inner Page Top - Non Responsive -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:336px;height:280px\"\n     data-ad-client=\"ca-pub-1043128618639037\"\n     data-ad-slot=\"5670477364\"><\/ins>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n<\/div>\n<div class=\"clr\"><\/div>\n<h2>So how should I begin searching my Gmail account?<\/h2>\n<p>The search field on your Gmail account is located at the top on the right of the logo &#8211; refer image below. It allows you to perform searches on both email messages in your Gmail account and the web.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.webdevelopersnotes.com\/tips\/gmail\/gmail-search-field.jpg\" width=\"400\" height=\"75\" alt=\"Gmail search field located at the top lets you search email messages in your account and also the web\" class=\"full-width\"\/><\/p>\n<p>To hunt for a message, type in your query in the search field and hit the <strong>Search Mail<\/strong> button. However, you can perform specific searches through the different search options. Click on the &#8220;Show search options&#8221; link which opens up these options &#8211; refer image below.<\/p>\n<p class=\"justimage\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.webdevelopersnotes.com\/tips\/gmail\/gmail-search-options.jpg\" width=\"450\" height=\"112\" alt=\"the search options panel on Gmail search. This lets you perform specific searches for messages in your account\" class=\"full-width\"\/><\/p>\n<p>With these options you can search:<\/p>\n<ul class=\"withbullets\">\n<li>emails from specified senders or receivers: the <strong>From:<\/strong> and <strong>To:<\/strong> fields, <\/li>\n<li>messages containing or not containing specified words: the <strong>Has the words<\/strong> and <strong>Doesn&#8217;t have:<\/strong> fields, <\/li>\n<li>email subject lines for keywords: the <strong>Subject:<\/strong> field, <\/li>\n<li>emails that have attachments: the <strong>Has attachment<\/strong> checkbox, <\/li>\n<li>within a specified date range, <\/li>\n<li>email messages that are lying in your inbox, trash, chats, spam , drafts, send folder or those that have been read or unread.<\/li>\n<\/ul>\n<p>You can use one or more fields to enter your search queries. For instance, if I want to list all emails from my friend Jonathan that have an attachment, I would type in Jon&#8217;s email address (or name) in the <em>From:<\/em> field and check the <em>Has attachment<\/em> checkbox.<\/p>\n<h2>Gmail search syntax and commands<\/h2>\n<p>The syntax for searching Gmail is derived from the options described above and extends the functionality even more. Here are some commands you can use:<\/p>\n<p><span class=\"codeword\">from:<\/span><br \/>\nExample &#8211; <span class=\"codeword\">from:jonathan<\/span> would search the headers of emails hunting for the supplied keyword &#8216;jonathan&#8217;.<\/p>\n<p><span class=\"codeword\">to:<\/span><br \/>\nExample &#8211; <span class=\"codeword\">to:user@example.com<\/span> would search messages sent to that account.<\/p>\n<p><span class=\"codeword\">cc:<\/span><br \/>\nExample &#8211; <span class=\"codeword\">cc:user@example.com<\/span> searches messages that carry a <em>carbon copy<\/em> to specified recipient.<\/p>\n<p><span class=\"codeword\">bcc:<\/span><br \/>\nExample &#8211; <span class=\"codeword\">bcc:user@example.com<\/span> searches messages that carry a <em>blind carbon copy<\/em> to specified recipient.<\/p>\n<p><span class=\"codeword\">subject:<\/span><br \/>\nExample &#8211; <span class=\"codeword\">subject:video<\/span> searches email subjects for the specified keyword &#8216;video&#8217;.<\/p>\n<p><span class=\"codeword\">filename:<\/span><br \/>\nExample &#8211; <span class=\"codeword\">filename:doc<\/span> hunts for emails that have doc file attachments. You can either enter a file extension or query a file name.<\/p>\n<p>There are others like <span class=\"codeword\">has:attachment<\/span>, <span class=\"codeword\">in:<\/span> (examples: in:spam, in:trash, in:anywhere and for specifying date ranges <span class=\"codeword\">before:<\/span> and <span class=\"codeword\">after:<\/span>. Important note: the date needs to be in YYYY\/MM\/DD format.<\/p>\n<p>Unless you want to prove your &#8220;geekness&#8221; to everyone, you really don&#8217;t need to memorize these commands and Gmail search syntax. You can search Gmail pretty well using the search option fields.<\/p>\n","protected":false},"excerpt":{"rendered":"Because of the large storage space at Gmail you can keep emails forever&#8230; no need to delete any message. This means you can potentially store tens of thousands of emails. And herein lies a problem &#8211; How do you search for an email lying in your Gmail account when you have hundreds&#8230; even thousands? It&#8217;s [&hellip;]","protected":false},"author":1,"featured_media":5908,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[15],"tags":[],"class_list":["post-1444","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gmail"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/posts\/1444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/comments?post=1444"}],"version-history":[{"count":0,"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/posts\/1444\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/media\/5908"}],"wp:attachment":[{"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/media?parent=1444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/categories?post=1444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webdevelopersnotes.com\/wp-json\/wp\/v2\/tags?post=1444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}