---
title: "Delete an email"
weight: 87
description: "Permanently remove an email from Capmail, and send it to the trash folder of your mail server if one is configured."
source_hash: "3bb31cbf"
---

# Delete an email

Deletes an email from Capmail. This is the only sorting action that cannot be undone: if you just want to stop seeing an email, archive it instead.

## Steps

1. Open the email in Lead Mode.
2. In the icon bar above the email, click the red trash can (**Delete**).
3. Confirm.

The email disappears from the list and the next one is displayed.

Other ways to do it:

- with the keyboard, the `d` or `Del` key deletes the displayed email **without asking for confirmation**;
- from the email card, the trash can at the top of the page, then confirmation in the **Delete email** window;
- for several emails, the trash can of the selection bar: see [Act on several emails at once](/capmail/action-agir-en-masse).

Deletion requires the Capmail message deletion right, which is separate from the read right, on any screen: Lead Mode, email card, classic list or third party tab. Without this right, the trash can is not offered and the `d` key does nothing.

## What it does

- The email is removed from Capmail, along with the copy of the message and its attachments stored by Capmail.
- On the mail server, it is moved to the mailbox's **Trash folder**, if this folder is filled in. It is also marked as read there. The server will permanently delete it when it cleans its trash.
- If no trash folder is filled in on the mailbox, nothing changes on the server: the message stays in place there.

The move is best-effort: if the server is unreachable, the email is still deleted from Capmail.

## What it does not do

- Attachments already copied to a project, a ticket or another Dolibarr object are not touched: they are copies.
- A deleted email does not go to Capmail's **Spam** bubble: this bubble groups emails marked as spam.

## Good to know

Deletion is permanent in Capmail: no notification offers **Undo**, the email no longer exists. Only your webmail's trash can still let you find the message, provided a trash folder is configured.

## See also

- [What do you want to do?](/capmail/actions)
- [Archive an email](/capmail/action-archiver-mail)
- [Mark an email as spam](/capmail/action-signaler-indesirable)
- [Permissions](/capmail/permissions)
