Unitalk Gmail icon

Unitalk Gmail

Consume the Gmail API with Unitalk

Thread → Add Label

AI-generated

Summary

Add labels to a Gmail thread.

Inputs

  • threadId (required) — The ID of the thread to add labels to.
  • labelIds (required) — Label names or IDs to add to the thread. Choose from the list, or specify IDs using an expression.

Output shape

Gmail API response indicating the labels were added to the thread.

Consumes threadId and labelIds; sends POST to /gmail/v1/users/me/threads/{threadId}/modify with { addLabelIds: labelIds }.

Examples

Example 1: Add a label to a thread using its ID and a label name from the loaded options.

Set Thread ID to the thread's Gmail ID, and Label Names or IDs to the desired label (e.g., 'Important' or its ID).

Links

Discussion