MailSlurpAPI.Api.EmailController.get_latest_email

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

get_latest_email(connection, opts \\ [])

Specs

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

Get latest email Get the newest email in all inboxes or in a passed set of inbox IDs

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :inbox_ids ([String.t]): Optional set of inboxes to filter by. Only get the latest email from these inbox IDs

      Returns

} on success {:error, info} on failure