Unread counts are incorrect for labels / folders
The unread badge always shows "1" even when I have no unread messages, can't get it to go away.
hi @MrSassyBritches , thanks for reporting this! Have you updated to the latest version? This issue should be resolved with version 0.3.25.
Same problem too. I searched label:unread on Gmail and found nothing

Hey folks—thanks for reporting this. We introduced new optimizations in 0.3.25 that avoid re-calculating counts all the time, but it looks like they're causing these issues. I'll see if we can get it fixed soon.
Merging in #140
I see this is closed, yet I'm still experiencing it. Is it in an upcoming release?
@framerate same here
I am on 0.3.29, still experiencing the same problem.
In Nylas, shows 1 unread:
And..

But in gmail web client it shows no unread messages:
And...

:pray: Hope someone can fix this soon :wrench:!
Can you search in Gmail by label:unread if you have some unread emails.
I definitely have some unread but nothing in my inbox On Dec 12, 2015 3:55 PM, "Dimitri Kouvdis" [email protected] wrote:
Can you search in Gmail by label:unread if you have some unread emails.
— Reply to this email directly or view it on GitHub https://github.com/nylas/N1/issues/489#issuecomment-164203023.
Yeah, and it returned a bunch of emails that I archived and are not in my inbox. But Nylas says I have one unread in my inbox.
With no actual unread messages in the N1 thread list?
What do you mean by N1 thread list? As far as scrolling through the "Inbox" mailbox, no there are no unread messages.
It happened to me once when an unread email are in the bin with inbox tag. Have a look
@dkouvdis yes! I think. I searched is:unread label:inbox and got a hit, though it was all very confusing. But thanks a lot for the solution, I just wish there was an easier way to resolve this. Maybe only count unread that are actually in the inbox instead of with the inbox label, but I don't know. Thanks again!
How can it be in the Inbox without the inbox label? That sounds like a bug somehow?
That's what I said.
merging into #704
issue for reference: #759