Updated to use new sendgrid syntax