--- title: "Remove-TaskEmailMessage" slug: "scripting-remove-taskemailmessage" tags: ["Enterprise Only"] updated: 2025-07-17T10:48:48Z published: 2025-07-17T10:48:48Z canonical: "help.agilityblue.com/scripting-remove-taskemailmessage" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove-TaskEmailMessage ## Summary Deletes an existing task email message. ```powershell Remove-TaskEmailMessage    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The task email message id. | ## Examples ### Delete an existing task email message ```powershell Remove-TaskEmailMessage -Id 1 ```