Fix compatibility Sendgrid