Flagged/Starred Messages not working in Apple Mail I just setup two accounts in Apple Mail for the first time, and am having absolutely no luck getting Flagged messages to work, in addition the Starred message folders aren't working.

I'm using Mavericks v10.9.2...

First off, it's two Gmail accounts, both have the exact same issue:


Account #1 was created years ago, has nearly 50,000 emails in the archive folder, and has around 25 messages that are actively flagged/starred...
Account #2 was created this morning, has 6 total emails with 1 flagged/starred.


After setting up Apple Mail for the first time on BOTH of these:


Flagged emails DO show in the inbox.
The 'Flagged' mailbox is empty.
Searching for 'Flagged' messages returns no results.
A smart mailbox for flagged emails shows as empty.
The 'Starred' folders on both accounts are gone.  Sometimes they will
appear after a re-lauch of apple mail, but they disappear a few
seconds after that.


I have:


Tried rebuilding the inbox multiple times, with no effect.
Based on another suggestion, I deleted "Envelope Index" files and waited for them to rebuild.  Once complete I tried doing a search for flagged messages and waited...  With no effect...


In short: I can't view any flagged messages by any means because the Starred folders are gone (but present on both my iPad and my iPhone), and because flagged message simply will not show up as they normally do...
Maybe it's too late for this reply but I found a solution: Just create an empty mailbox in your mac, then drag and drop the emails that should be flagged to that folder. They'll appear again correctly in the Flagged folder.

I came up with this solution because I found out that new mail that I received and then flagged did appear correctly.