nextcloud / nextcloud/mail

Mail gets confused by emails with identical Message-Id

Open
#10,682 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce

Send an email that you receive in two ways (e.g. two mailing lists).

Expected behavior

Mail should show both emails independently.

Actual behavior

Mail shows the emails in the same thread view, as if they were referring to each other.

If I delete one of them, the other vanishes, too. It only reappears after a page reload.

If the emails don't have an identical subject (e.g. from an added prefix from a mailing list), Mail shows one subject in the messages list, and the other in the thread view as headline (see screenshot).

Image
Mail app version

4.2.0 rcX

Nextcloud version

31 rcX

Mailserver or service

No response

Operating system

No response

PHP engine version

None

Nextcloud memory caching

No response

Web server

None

Database

None

Additional info

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.

Research direction

Reproduce the issue by delivering the same email through two mailing lists, including cases with identical and different subjects. Trace how Mail groups messages into a thread and how deletion updates the message list; done means both copies remain independent, deleting one leaves the other visible, and subject display is consistent without requiring a reload.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.