nextcloud / nextcloud/mail

Option to show emails flagged as \deleted

Open
#12,771 6 comments 1 reaction 1 assignee View on GitHub

@ChristophWurst is already working on this.

Since Apr 20, 2026.

1. to develop enhancement needs info
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Is your feature request related to a problem? Please describe.

IMAP does not necessarily remove a email from a folder when a user selects "delete", but only mark it as "deleted". Currently, messages that are marked-as-deleted are not handled any differently from mails that are not (the marking is completly ignored.)

Describe the solution you'd like
  1. The marked-as-deleted mail should not be included in the message list by default.
  2. There should be an option to "include marked-as-deleted mails". If (and only if) the user selects this options, the marked-as-deleted mail should be listed again, being clearly marked (e.g. "stricken-through".)
  3. When the marked-as-deleted mails are listed, the user should be able to remove the "deleted" marking of the current mail.
Describe alternatives you've considered

There are none. The marked-as-deleted handling is part of the IMAP standard. Workarounds such as moving the mail between folders are no replacement.

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.