fixed sendgrid variables to point to hash