Hi, as you can see your server reports that it has 5 messages.
So, this is not a question to us, but to your IMAP server you are using (the one you see only one message in). The component only exposes the values given from the server.
However, I have an idea why your server reports you only one message. Maybe, other messages you are not expecting are flagged as deleted.
You can list those message with the following code (SelectFolder is for reference into your code) and see if any has Deleted in the last column of the Console.WriteLine call:
imap.SelectFolder("Inbox");
var list = imap.GetMessageList();
foreach (var info in list)
{
Console.WriteLine("{0} | {1} | {2} | {3} | {4} | {5}",
info.Subject, info.From, info.To, info.Date, info.ReceivedDate, info.Flags);
}
If you want those messages flagged as 'Deleted' delete permanently, you can call this line of code:
imap.Purge();