Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Thread → Add Label to Thread

AI-generated

Summary

Add a label to a thread

Inputs

  • threadId (required) — Identifier of the thread to which the label will be added
  • labelIdForMessageOrThread (required) — Label name or ID to apply to the thread

Output shape

object

Confirms the label addition; includes action, threadId, successful flag, and optional debug data when enabled

Examples

Example 1: Add label 'Work' to a specific thread

Thread ID set to '12345', Label Name or ID set to 'Work'

Links

Discussion