delete_thread
Delete all messages in an email thread identified by its Message-ID. Choose between permanent deletion or moving to trash.
Instructions
Delete all messages in a thread, identified by RFC 5322 Message-ID header. permanent:true permanently expunges; false moves to Trash. Use when you have the raw Message-ID. Prefer apply_thread_action with action 'trash' or 'delete' when you have a local threadId from get_threads or get_actionable_threads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| confirmed | No | ||
| messageId | Yes | RFC 5322 Message-ID. | |
| permanent | No | ||
| acrossFolders | No |