Email

Mark read or starred, or move a message

Changed on

folder moves the message. On Google a move swaps the inbox, trash and spam labels and keeps every other label; archive removes the inbox label.

patch/v1/email/messages/{messageId}

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/email/messages/{messageId}
  • Auth
    HTTP bearer

Path parameters

messageIdstring required

Request body

accountIdstring required
unreadboolean
starredboolean
folderstring

Well-known folder name or folder id to move into.

Response

The updated message. A move on Microsoft changes the message id; read it from data.id.

Changes