Connecting to the email server