make a little class for the imap server