Fixing a sendgrid issue