delete_thread
Remove an entire email thread by its RFC 5322 Message-ID, either moving it to Trash or permanently deleting it.
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 |