Perhaps someone can rewrite it using JMAP in the future...
It actually lifts the IMAP protocol to be used by web apps easily.