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

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


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

Parse and return text from an email, stripping HTML and decoding encoded characters Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors


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

} on success {:error, info} on failure