Actions30
- Message Actions
- Label Actions
- Draft Actions
- Thread Actions
Thread → Untrash a Thread
AI-generatedSummary
Restores a trashed thread, removing it from the Trash mailbox and returning it to the Inbox.
Inputs
- threadId (required) — The unique ID of the thread to untrash.
- fetchOptions — Optional configuration object containing debug settings.
Output shape
Success status and metadata for the untrashed thread.
The operation returns a JSON object indicating the action performed, the thread ID, and the number of emails affected (requested and successful). If Debug mode is enabled, the raw JMAP response is included.
Examples
Example 1: Restore a specific thread from the Trash
Resource: Thread, Operation: Untrash a Thread, Thread ID: provided or from previous node output