Created attachment 59471 [details]
Look at all those empty folders. There should be thousands of emails in them.
Version: 4.6 beta4 (using KDE 4.6.2)
(This is really for Kontact 4.5.95, which I think is 4.6 beta5, but I didn't seen that listed in the "Application Version" pulldown menu.)
Like it says, I upgraded to 4.6 beta5 from a stable version, and the emails I had stored locally don't show up. See the attached image. The KMail Folders akonadi resource seems to be set to the correct folder (~/.kde/share/apps/kmail/mail), and that folder still has ~3GB of emails in it. Everything else transfered smoothly.
I've found a strange fix:
You can see in my earlier attachment that KMail shows zero messages in the trash. However, when I moved a message to the trash, all of a sudden I could see the other messages that had been in the trash but weren't previously visible.
I can do the same with the other folders; after I move a message in to them, the previously invisible messages become visible.
*** This bug has been marked as a duplicate of bug 271913 ***