{"id":112642,"date":"2020-05-08T19:40:00","date_gmt":"2020-05-08T19:40:00","guid":{"rendered":"https:\/\/blog.finxter.com\/?p=4445"},"modified":"2020-05-08T19:40:00","modified_gmt":"2020-05-08T19:40:00","slug":"how-to-show-only-unread-messages-in-primary-gmail-tab","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2020\/05\/08\/how-to-show-only-unread-messages-in-primary-gmail-tab\/","title":{"rendered":"How to Show Only Unread Messages in Primary Gmail Tab?"},"content":{"rendered":"<p>This is a small trick I learned the hard way. When working through the massive amounts of emails, I often wondered: how to get only the unread ones in Gmail that are also in the primary tab?<\/p>\n<p>Queries like these happen quite frequently when working with Gmail. As it turns out, there&#8217;s a simple solution:<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-5.png\" alt=\"\" class=\"wp-image-4446\" srcset=\"https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-5.png 1007w, https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-5-300x73.png 300w, https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-5-768x188.png 768w\" sizes=\"(max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n<p>Simply type the following command in your search bar:<\/p>\n<p><code>in: category:primary is:unread<\/code><\/p>\n<p>For coders, this is an easily understandable filter operation. We want to retrieve all emails from your inbox (<code>in:<\/code>) that are also in your primary tab (<code>category:primary<\/code>) and that are also unread (<code>is:unread<\/code>). <\/p>\n<p>As it turns out, Gmail comes with powerful filtering options even way beyond what you&#8217;ve seen here. Here are all the search and filtering operators in Gmail (screenshot from <a href=\"https:\/\/support.google.com\/mail\/answer\/7190?hl=en\">this source<\/a>):<\/p>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-7.png\" alt=\"\" class=\"wp-image-4448\" width=\"610\" height=\"2801\" srcset=\"https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-7.png 223w, https:\/\/blog.finxter.com\/wp-content\/uploads\/2019\/09\/grafik-7-768x3528.png 768w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/figure>\n<p>Simply bookmark this page and come back if you run into the next Gmail search issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a small trick I learned the hard way. When working through the massive amounts of emails, I often wondered: how to get only the unread ones in Gmail that are also in the primary tab? Queries like these happen quite frequently when working with Gmail. As it turns out, there&#8217;s a simple solution: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[857],"tags":[73,468,528],"class_list":["post-112642","post","type-post","status-publish","format-standard","hentry","category-python-tut","tag-programming","tag-python","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/112642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=112642"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/112642\/revisions"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=112642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=112642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=112642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}