Inbox is Blank in OS X Mail.app

Hi, I am currently using Mail.app v4.2 in Snow Leopard. I have 5 different email accounts set up. All of them are Gmail/IMAPS accounts.

3 of the accounts work fine; while two accounts act weird--In two of these accounts, *most* of the time when I click on the Inbox>MailboxName, it comes up as blank, showing no email messages at all. I can scroll down to see a list of accounts outside the inbox; open this up and see my mail in Gmail's "All Mail" folder. So, email messages are being downloaded and synced, but they just won't show up in my Inbox where they are supposed to be. This issue is intermittent--I can restart Mail.app and sometimes they show up fine and then at some point they disappear again. I'm lost as to why this happens. In 3 other Gmail/SMTP accounts, with exact same options set things are working fine...
goldylamontAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ekirchhoCommented:
Sometimes this happens when the mailbox cache needs to be rebuilt. Select one of the "bad" inboxes and from the Mailbox menu, choose Rebuild. It is the last option in the menu. It may take a while depending on how many messages you have. If it is still blank, right-click on the inbox in the list and choose "Synchronize..".
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason WatkinsIT Project LeaderCommented:
Hello,

Is the setting "Keep copies of messages for offline viewing:" enabled for those mailboxes.
0
goldylamontAuthor Commented:
OK, I did the Rebuild and this worked...for like 10 minutes I could see my Inbox messages; then it reverted back to being blank; on both accounts. This issue persists after restarting Mail app.

And, yes I have "Keep copies of messages for offline viewing:" enabled on both accounts. this isn't issue.

Any other suggestions? Is there a way to view log files for errors in the Mail app?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

ekirchhoCommented:
If you are comfortable with terminal, you could turn on notification logging by entering:

defaults write com.apple.mail LogNotificationActivity -bool true

Or you could use one of the many GUI programs like MacPilot to toggle the debug mode on.

One quick test is to make sure Mail is closed. Go to your ~/Library/Mail folder and find the gmail account that is experiencing the problem. Move the INBOX from that folder to someplace safe (Desktop or Documents will do) and then start Mail. Then gmail account should recreate the INBOX files.
0
ekirchhoCommented:
If you do turn on logging, you can see the notifications in the system.log. Open Console (located in the Utilities Folder) and look for system.log
0
goldylamontAuthor Commented:
ok, i'll try both logging and recreating my Inbox files. thanks ekirchho i'll let you know what i find
0
goldylamontAuthor Commented:
SOLUTION FOUND! OK, I found out the solution myself and I want to post just in case anyone else has this issue. I awarded points above because these were great troubleshooting tips and a good way to rule out other common issues with Mac Mail.

My issue with these two accounts was that I had folders called "Inbox" or nested folders within "Inbox" and Apple Mail got confused. This was because I migrated from a different email system into Google Mail and uploaded all my email and folder structure for these two accounts. In my old email system when I created folders it created them as subfolders to the Inbox, so in Gmail these were showing up as Inbox/Subfolder1, Inbox/Subfolder2, etc. Once I either renamed these without the word "Inbox" or I deleted them altogether and then synced my Mail account again, everything works great!

Thanks to all who responded.
0
goldylamontAuthor Commented:
i resolved myself but these comments were helpful
0
TrialWorksCommented:
Your diagnosis of the problem is excellent.  I've been struggling with your issues for quite a while, never considered sub-folders being the problem.   100% dead on - the internet thanks you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.