Function mailslurp::apis::inbox_controller_api::get_emails[][src]

pub async fn get_emails(
    configuration: &Configuration,
    params: GetEmailsParams
) -> Result<Vec<EmailPreview>, Error<GetEmailsError>>

List emails that an inbox has received. Only emails that are sent to the inbox’s email address will appear in the inbox. It may take several seconds for any email you send to an inbox’s email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the minCount parameter. The server will retry the inbox database until the minCount is satisfied or the retryTimeout is reached