Module Values.EmailInsightsSource

An email's insights contain metadata and delivery information about a specific email.

Sourcetype nonrec t = {
  1. destination : InsightsEmailAddress.t option;
    (*

    The recipient of the email.

    *)
  2. isp : Isp.t option;
    (*

    The recipient's ISP (e.g., Gmail, Yahoo, etc.).

    *)
  3. events : InsightsEvents.t option;
    (*

    A list of events associated with the sent email.

    *)
}
Sourceval make : ?destination:??? -> ?isp:??? -> ?events:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of BounceSubType.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ] list | `String of InsightsEmailAddress.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t