MailSlurpAPI.Api.EmailController.get_latest_email_in_inbox

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

get_latest_email_in_inbox(connection, opts \\ [])

Specs

get_latest_email_in_inbox(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_id (String.t): ID of the inbox you want to get the latest email from

      Returns

} on success {:error, info} on failure