Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Thread → Trash a Thread

AI-generated

Summary

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' } }

Links

Discussion