Created basics of imap connecting.