Sick Gaming
[Tut] How to Show Only Unread Messages in Primary Gmail Tab? - Printable Version

+- Sick Gaming (https://www.sickgaming.net)
+-- Forum: Programming (https://www.sickgaming.net/forum-76.html)
+--- Forum: Python (https://www.sickgaming.net/forum-83.html)
+--- Thread: [Tut] How to Show Only Unread Messages in Primary Gmail Tab? (/thread-94950.html)



[Tut] How to Show Only Unread Messages in Primary Gmail Tab? - xSicKxBot - 05-09-2020

How to Show Only Unread Messages in Primary Gmail Tab?

<div><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>
<p>Queries like these happen quite frequently when working with Gmail. As it turns out, there’s a simple solution:</p>
<figure class="wp-block-image"><img 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>
<p>Simply type the following command in your search bar:</p>
<p><code>in: category:primary is:unread</code></p>
<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>
<p>As it turns out, Gmail comes with powerful filtering options even way beyond what you’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>
<figure class="wp-block-image size-full is-resized"><img 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="(max-width: 610px) 100vw, 610px" /></figure>
<p>Simply bookmark this page and come back if you run into the next Gmail search issue.</p>
</div>


https://www.sickgaming.net/blog/2020/05/08/how-to-show-only-unread-messages-in-primary-gmail-tab/