refactor sendgrid event create to event resource create