set up application to connect to gmail to send emails