Embedded IMAP server for integration testing