MailSlurpAPI.Model.Email (mailslurp v15.17.22)

Email entity (also known as EmailDto). When an SMTP email message is received by MailSlurp it is parsed. The body and attachments are written to disk and the fields such as to, from, subject etc are stored in a database. The `body` contains the email content. If you want the original SMTP message see the `getRawEmail` endpoints. The attachments can be fetched using the AttachmentController



@type t() :: %MailSlurpAPI.Model.Email{
  analysis: EmailAnalysis | nil,
  attachments: [String.t()] | nil,
  bcc: [String.t()] | nil,
  body: String.t() | nil,
  bodyExcerpt: String.t() | nil,
  bodyMD5Hash: String.t() | nil,
  cc: [String.t()] | nil,
  charset: String.t() | nil,
  createdAt: DateTime.t(),
  domainId: String.t() | nil,
  from: String.t() | nil,
  headers: %{optional(String.t()) => String.t()} | nil,
  headersMap: %{optional(String.t()) => [String.t()]} | nil,
  html: boolean() | nil,
  id: String.t(),
  inboxId: String.t(),
  isHTML: boolean() | nil,
  read: boolean(),
  recipients: EmailRecipients | nil,
  replyTo: String.t() | nil,
  sender: Sender | nil,
  subject: String.t() | nil,
  teamAccess: boolean(),
  to: [String.t()],
  updatedAt: DateTime.t(),
  userId: String.t()