Fix sendgrid settings bug