added sendgrid variables and configuration for action mailer.