A downstream event observed for an email (delivery, open, click, bounce, etc.).
Events are keyed to emails by SES message_id. An event may be recorded before
its email is known (e.g. an out-of-order webhook), in which case email_id is
nil until the email is recorded and the event is back-linked.
Summary
Functions
Builds a changeset for an event. occurred_at defaults to now when omitted.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Builds a changeset for an event. occurred_at defaults to now when omitted.