Sendgrid error fix