List IMAP messages

List recent IMAP messages (headers only) from a mailbox.

get/api/v1/imap/messages

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/imap/messages
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)

Query parameters

mailboxstring

Mailbox name

max_resultsinteger

Maximum results (default: 25)

unread_onlyboolean

When true, returns only unread messages

Response

Message header list

userstring
providerstring
mailboxstring
unread_onlyboolean
countinteger

Example response

{
  "provider": "IMAP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.