@mxraven/mail - v0.2.0
    Preparing search index...

    Variable eventTypeConst

    eventType: {
        deliveryStatus: "delivery_status";
        inboundEmail: "inbound_email";
        storageStatus: "s3_egress_status";
    } = ...

    Identifies the shape of a decoded webhook payload.

    Type Declaration

    • ReadonlydeliveryStatus: "delivery_status"

      A NOTIFY_WEBHOOK delivery carrying the status of an SMTP delivery.

      The SMTP producer does not send an event_type field, so this value is assigned by decode.

    • ReadonlyinboundEmail: "inbound_email"

      A DELIVER_WEBHOOK delivery carrying a complete inbound message.

    • ReadonlystorageStatus: "s3_egress_status"

      A NOTIFY_WEBHOOK delivery carrying the status of an object-storage write.