show only unread emails in gmail code example
Example: show read unread section in gmail
How can I find supposed unread email in primary inbox? - Gmail Community. This worked for me. Go to the Settings icon - choose settings - click on Inbox and near the top is a box called Inbox type - you can select 'Unread first' from that menu - scroll down to save your changes and the missing emails should appear