Command line interface for imap account