whwillis

Q: Yosemite mail flag problem

I have an indicator of 2 flagged messages in my mailbox, however when I open the Flagged folder it shows 1 red flag and 1 green flag, but both are empty.  I searched all of my email and found no flagged messages.  How do I reset this counter?

Posted on Nov 13, 2014 1:36 PM

Close

Q: Yosemite mail flag problem

  • All replies
  • Helpful answers

  • by justinboatman,Helpful

    justinboatman justinboatman Dec 20, 2014 1:54 PM in response to whwillis
    Level 1 (5 points)
    Dec 20, 2014 1:54 PM in response to whwillis

    This fixed it for me:

     

    1. Quit Mail

     

    2. Go to ~/Library/Mail/V2/MailData (access your user library by pressing "go" in the menu bar and holding the option key to reveal your library)

     

    3. Delete the three "Envelope Index" files (Envelope Index, Envelope Index-shm, Envelope Index-wal)

     

    4. Restart Mail and wait for your messages to load (you won't lose any prior messages).

     

    Hope this helps!

  • by ydan,

    ydan ydan Dec 25, 2014 4:12 PM in response to justinboatman
    Level 1 (0 points)
    iPhone
    Dec 25, 2014 4:12 PM in response to justinboatman

    Thank you, justinboatman, your advice helped me in a similar situation. I would add

     

    5. Give Mail time to populate Flag folders with your flagged messages.

  • by Tim@Merced,

    Tim@Merced Tim@Merced Jan 25, 2015 7:06 AM in response to justinboatman
    Level 1 (0 points)
    Jan 25, 2015 7:06 AM in response to justinboatman

    I've been trying to fix this for months, thanks for posting the fix!!

  • by Exley51,

    Exley51 Exley51 Jan 27, 2015 2:15 PM in response to justinboatman
    Level 1 (0 points)
    Jan 27, 2015 2:15 PM in response to justinboatman

    I had a bunch of messages on the flagged folder that were not flagged anymore. They just wouldn't go away.  This fixed it.


    Thanks.

  • by MTamiesA,

    MTamiesA MTamiesA Aug 12, 2015 11:16 AM in response to justinboatman
    Level 1 (0 points)
    Aug 12, 2015 11:16 AM in response to justinboatman

    Thank you! This was a huge help.

     

    I had about 30 red flagged emails that all of the sudden jumped to 300. But when I clicked on the red flagged items, there were several different colored flagged emails in there. This trick worked perfectly!

     

    It did take about 30-40 minutes for my mail to populate but I have a lot of emails.

     

    Thanks again!

  • by pitashi,

    pitashi pitashi Aug 3, 2016 1:04 PM in response to whwillis
    Level 1 (4 points)
    Mac OS X
    Aug 3, 2016 1:04 PM in response to whwillis

    Yeh, this is great for fixing the issue one time. But as soon as I flagged another message and tried to unflag it, welp, it was stuck there again. I don't think I can wait 55 minutes for my email file to rebuild every time I need to clear out a flag that should just clear out when I unflag it.