--- title: "Remove-EmailMessage" slug: "scripting-remove-emailmessage" updated: 2025-07-16T20:24:41Z published: 2025-07-16T20:24:41Z canonical: "help.agilityblue.com/scripting-remove-emailmessage" --- > ## 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-EmailMessage ## Summary Deletes an existing email message. ```powershell Remove-EmailMessage    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The email message id. | ## Examples ### Delete an existing email message ```powershell Remove-EmailMessage -Id 1 ```