MailSlurpAPI.Model.Email (mailslurp v13.0.1)

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

Link to this section Summary

Link to this section Types

Specs

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() | nil,
  from: String.t() | nil,
  headers: %{optional(String.t()) => String.t()} | nil,
  id: String.t() | nil,
  inboxId: String.t() | nil,
  isHTML: boolean() | nil,
  read: boolean() | nil,
  replyTo: String.t() | nil,
  subject: String.t() | nil,
  teamAccess: boolean() | nil,
  to: [String.t()] | nil,
  updatedAt: DateTime.t() | nil,
  userId: String.t() | nil
}