Lablels stuck showing unread

Description

When you have a label with a lot of mails it gets stuck showing 1 or 2 unread messages
if you go to the gmail webconsole you will see no mails are unread
the unread number seems stuck on the client even though all mails are read in the label

To Reproduce…

Steps to reproduce the behavior:

  1. Create a label
  2. add a mail rule

Expected Behavior

Should show no unread mails if there are none

Screenshots

image

Setup

  • OS and Version: Zorin OS 16.1
    • Installation Method: Snap
  • Mailspring Version: 1.10.3