Skip to main content

Get IDs

This function gets all IDs of the mail in the logged in users inbox. Useful for the "Get mail(s)" function.

Usage

Call the function and resolve the promise with either await or .then()

// ...
let ids = await wrapper.mail.getIDs()

Result

[
123456,
654321
]