Handle Sendgrid data