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

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


get_raw_email_contents(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, String.t()} | {:error, Tesla.Env.t()}

Get raw email string Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint


  • connection (MailSlurpAPI.Connection): Connection to server
  • email_id (String.t): ID of email
  • opts (KeywordList): [optional] Optional parameters


} on success {:error, info} on failure