Implements a nodejs with the imap server protocol