Convert imap functions into EmailServer class methods
Convert imap functions into EmailServer class methods

AustralianAntarcticDataCentre/save_emails_to_files,AustralianAntarcticDataCentre/save_emails_to_files