Configure app to send emails

This will use sendgrid in production and mailtrap.io in staging.