9. March 2012 05:13
Message count in Gmail using aspNetIMAP
I recently had a customer pulling their hair out over this issue, so I thought I post something about it.
Sometimes when using aspNetIMAP (or any other IMAP client for that matter), the message count returned for a folder will not match what you actually see as a count in Gmail's web interface. The discrepancy is due to the conversational view. Gmail has an option to view messages as conversations. If you turn that option off (found under General | Settings in Gmail), you will get the true message count of messages in that folder.