Actions30
- Message Actions
- Label Actions
- Draft Actions
- Thread Actions
Thread → Trash a Thread
AI-generatedSummary
Moves a Fastmail thread into the Trash mailbox by adding its constituent emails to the trash mailbox ID.
Inputs
- threadId (required) — The ID of the thread to trash.
Output shape
A single item containing a JSON object with the action, thread ID, number of requested emails, and success count.
The operation moves all emails within the specified thread. The thread is not deleted, only moved to the Trash.
Examples
Example 1: Archive a specific conversation thread
Input: { : { threadId: 'th_12345' } }