I\'m implementing a IMAP client, and I have a problem with IMAP mailbox synchronization.
First, it is okay to fetch new mails from IMAP server, but I don\'t know how to
Maybe too late for your app, but you can find a complete IMAP sync strategy in this RFC: http://tools.ietf.org/html/rfc4549 !