MailSlurpAPI.Model.WebhookNewEmailPayload (mailslurp v12.8.4)

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.

Link to this section Summary

Link to this section Types

Specs

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