fix for sendgrid in productionx