v1

latestOpenAPI 3.0.02026-07-249301.3 MB
Emails

Update an email

Update an email.

put/api/v1/emails/{email_id}

Path parameters

email_idstring required

The id of the email to be updated. Either the Unipile id or the provider uid.

Query parameters

account_idstring

The id of the account related to the email. Required when using the provider uid.

Request body

unreadboolean

Indicates whether the email should be marked as unread. Updates only the targeted email. If unread is supplied, all other parameters are ignored.

foldersstring[]

The names of the folders to which the email should be moved. Outlook and IMAP accounts accept only one folder. If you provide a label value that does not already exist, a new label will be created with that value. Updates the entire thread if the targeted email is part of a conversation

categoriesstring[]

Outlook only: The categories to assign to the email.

Response

OK

object'EmailUpdated' required