After I periodically start and stop Akonadi (because of an other bug) this morning I saw that KMail only shows 2 messages in the inbox, though I have at least 30 in them. I'll attach a screenshot to demonstrate it better. Interestingly, the unread counter is right. Reproducible: Didn't try
Created attachment 76136 [details] Only 2 letters are visible but I have 30+ in the inbox
Ps.: it's interesting that in akonadiconsole's Browser tab I can see all of the letters and their payload correctly.
I have a similar issue. For some messages, new unread messages do not appear in the list of messages. This happens for all my IMAP accounts (haven't tested anything else) and it happens for mails in the inbox and those in subfolders. Mails that arrive after these "invisible mails" get displayed normally. After restarting kmail all mails (including the ones that were invisible) can be seen again.
We had a very similar situation with the mailfiltering. See the thread (in the kde-pim mailing list) "mailfilter does not see all incoming messages" from wolfgang@rohdewald.de at Wed, 13 Feb 2013 10:34:46 It was a dispatch problem at the very input of the messages, solved by Andras Mantia at the KDEPIM-sprint in Berlin.
Ok, this means the fix should be in KDE 4.10.3 or KDE 4.11. Am I right?
*** This bug has been marked as a duplicate of bug 312460 ***