MailSlurpAPI.Api.EmailController.get_email

You're seeing just the function get_email, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function

get_email(connection, email_id, opts \\ [])

Specs

get_email(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, MailSlurpAPI.Model.Email.t()} | {:error, Tesla.Env.t()}

Get email content Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • email_id (String.t): emailId
  • opts (KeywordList): [optional] Optional parameters
    • :decode (boolean()): Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance =D7). This can be a pain for testing

      Returns

} on success {:error, info} on failure