fix error where header return json may be marked as invalid by sendgrid and reject email
fix error where header return json may be marked as invalid by sendgrid and reject email

kansohq/sendgrid,stephenb/sendgrid,instacart/sendgrid,Ghrind/sendgrid,quri/sendgrid,populr/sendgrid,parallel588/sendgrid