Hi, when an "unsubscribed" event is received by the Postmark webhook receiver, it appears there is a key check that checks for a potentially missing key here:
if event_type == EventType.UNSUBSCRIBED:
if esp_event["SuppressSending"]:
In my esp_event payload, the SuppressSending key does not exist:
{
Description: "Unsubscribe or Remove request.",
ID: 555555555, # scrubbed
MessageID: "5555555-5555555-5555-5555555", # scrubbed
MessageStream: "outbound",
Name: "Unsubscribe request",
RecordType: "Bounce",
ServerID: 111111111, # scrubbed
Tag: "",
Type: "Unsubscribe",
TypeCode: 16
}
Should this be an in check rather than a key assertion check?