Update messages
PUT/v1/account/:account/messages
Update message information for matching emails
For Gmail API accounts the entire label set cannot be replaced in one call. Add and remove labels individually instead of using the set operation.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
Returns which flag and label changes were applied to the matching messages.
Invalid input - the path parameters, query arguments, or request payload did not pass validation
Authentication failed - the access token is missing, invalid, or was not accepted
Access denied - the access token does not grant permission for this operation (token scope, account, or IP address restriction)
Not found - the requested entity (account, message, mailbox, etc.) does not exist
Rate limit exceeded - too many requests were made with this access token
Internal server error - an unexpected error occurred while processing the request
Service unavailable - the worker processing this account is not available, try again later