Make sendgrid unsub handler more robust.