initial version of configuring an IMAP proxy