capgemini-stavanger / gi-en-jul

10 stars 1 forks source link

implement SendGrid Webhooks #1072

Open RonHaland opened 2 weeks ago

RonHaland commented 2 weeks ago

Save sent emails to a table Use X-Message-Id from response headers as rowkey

RonHaland commented 5 days ago

https://www.twilio.com/docs/sendgrid/for-developers/tracking-events/event

event, email, timestamp seems to be important fields

RonHaland commented 4 days ago

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.