# Delete Email (preview)

> Delete Email activity that deletes an email message and moves it to Trash in Apple Mail.

`UiPath.AppleMail.Activities.DeleteEmail`

## Description

Deletes an email message, moving it to Trash.

This activity deletes an existing email message from Apple Mail by moving it to the Trash mailbox. The email message must be one returned by the **For Each Email** activity.

:::note
This activity only runs on macOS systems with the Apple Mail application installed and configured.
:::

## Project compatibility

Windows | Cross-platform

## Configuration

You can configure the activity as follows:

* **Email** - The email message to delete. Must be an email returned by the **For Each Email** activity.
