getpass() added,switch between IMAP4 and IMAP4_SSL