MailSlurpAPI.Model.WebhookNewEmailPayload (mailslurp v15.17.22)

NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments.

Summary

Types

@type t() :: %MailSlurpAPI.Model.WebhookNewEmailPayload{
  attachmentMetaDatas: [AttachmentMetaData],
  bcc: [String.t()],
  cc: [String.t()],
  createdAt: DateTime.t(),
  domainId: String.t() | nil,
  emailId: String.t(),
  eventName: String.t(),
  from: String.t(),
  inboxId: String.t(),
  messageId: String.t(),
  subject: String.t() | nil,
  to: [String.t()],
  webhookId: String.t(),
  webhookName: String.t() | nil
}