Previously I was using this setup: config.action_mailer.smtp_settings = {
config.action_mailer.smtp_settings = { address: \'smtp.sendgrid.