Set up application to connect to Gmail to send emails.