i use this code for read mails.
Lazy<AE.Net.Mail.MailMessage>[] messages = ic.SearchMessages(mailcondition, headersOnly);
Each message has a property called Value, and each value has its own properties, including UID.
Now I'm going to arrange the messages based on the UID.
please guide me