In a previous blog post we described the pipelining performance optimizations we made in MailSite 10 to improve IMAP and TLS connections This wasn't all we did in MailSite 10  we also decided to tackle a long standing protocol flaw in IMAP  the ability to query for changes to a folder  especially in modern mail folders which could easily contain 10 000s of email messages