Unicom360.Webhook.EmailDeliveryReport (Unicom360 v0.1.0)

Copy Markdown View Source

An email delivery report, from Unicom360.Webhook.parse_email_callback/1: message_id (a string, though the wire sends a number), status ("SENT", "DELIVERED", "FAILED"; open), email_address, message, raw and extra.

Unsigned and never retried: anyone can post one, so treat it as a hint.

Summary

Types

t()

@type t() :: %Unicom360.Webhook.EmailDeliveryReport{
  email_address: String.t() | nil,
  extra: map(),
  message: String.t() | nil,
  message_id: String.t() | nil,
  raw: map(),
  status: String.t() | nil
}