First experimental connection to imap server

Can connect and check number of messages in inbox from url.