Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Thread → Remove Label From Thread

AI-generated

Summary

Remove a label from a thread

Inputs

  • labelIdForMessageOrThread (required) — Label identifier to remove from the thread (choose from dropdown or provide an expression).
  • threadId (required) — The ID of the thread from which to remove the label.
  • fetchOptions — Optional fetch settings (e.g., read status, search, body inclusion) – most options are ignored for label removal.

Output shape

an object describing the removal result, containing the action performed, thread ID, number of messages processed, and success status

successful indicates how many messages were successfully updated; on error an 'error' field may be present.

Examples

Example 1: Remove a label from a specific thread

Set Thread ID, select the target Label from the dropdown, optionally enable Debug, then execute the node.

Example 2: Batch remove a label from multiple threads

Pass a list of thread IDs from a preceding node, map the same Label ID, keep default fetch options, then execute the node.

Example 3: Remove a label with debug output enabled

Set Thread ID and Label ID, enable Debug in fetchOptions, then execute the node to receive detailed JMAP responses.

Links

Discussion