Mail Unread count wrong and badge no showing

Hi


Since yesterday my Mail has been showing a Unread message (Smart Mailbox) count of 1 even though there are NO messages in the folder, and I have also selected Mark all messages as read and nothing changes this.


Also, the Dock Icon has no badge when actual messages appear that state I have new unread messages.

I have deleted the Smart Mailbox and recreated and the same issue occurs.


Anyway to resolve this?


Thanks

iMac 27″, macOS 12.0

Posted on Dec 17, 2021 12:50 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 17, 2021 4:35 AM

Quit Mail if it’s open.

• In ~/Library/Mail/V7/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.

• Your home Library folder is hidden by default. To display it, choose Finder > “Go to Folder” and then enter “~/Library

• Open Mail.

• Mail creates new Envelope Index files. This process may take a few minutes, depending on how many messages Mail is reindexing.

• It will fix your issue.

"Message Import": 


In above one may need to change the V7 to V9

10 replies
Question marked as Top-ranking reply

Dec 17, 2021 4:35 AM in response to Rob Snow

Quit Mail if it’s open.

• In ~/Library/Mail/V7/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.

• Your home Library folder is hidden by default. To display it, choose Finder > “Go to Folder” and then enter “~/Library

• Open Mail.

• Mail creates new Envelope Index files. This process may take a few minutes, depending on how many messages Mail is reindexing.

• It will fix your issue.

"Message Import": 


In above one may need to change the V7 to V9

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mail Unread count wrong and badge no showing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.