Open RonHaland opened 2 weeks ago
https://www.twilio.com/docs/sendgrid/for-developers/tracking-events/event
event, email, timestamp seems to be important fields
X-Message-Id header contains message Id, the bold part of: "sg_messageid": "yW5utel5TYuIBREiXJi7aA_.recvd-5f9ffdf494-9kc6l-1-673C6EB0-B.0", from the status messages posted by the webhook.
Save sent emails to a table Use X-Message-Id from response headers as rowkey