API ReferenceInbound EmailSet a thread's labelsSet a thread's labels PUT /inboxes/threads/:threadId/labels Replaces the thread's labels with exactly label_ids (an empty list clears them). Request Responses200400404422The thread with its labelsInvalid request bodyThread not foundA label does not exist in this project