Mail grouping by thread - deletion of 1 message deletes others in other folders
Steps to reproduce
- Get a series of emails belonging to 1 thread
- move them to a folder
- Get another email and delete it
- Email goes to trash but so the others from a folder
Same happens in case of
- sending an email to a group
- got mail delivery failure notification
- delete the notification
- original email gets deleted from Sent folder
Expected behavior
I would expect that actions such as move or delete ONLY apply to the emails grouped in given folder, such as INBOX. Moving a thread from inbox should not also move messages from Sent folder.
Actual behavior
Messages get moved, tbh I lost a lot of messages this way without noticing...
Mail app version
5.9.2
Nextcloud version
33.0.5
Mailserver or service
Exim
Operating system
Gentoo
PHP engine version
PHP 8.3
Nextcloud memory caching
No response
Web server
Nginx
Database
MariaDB
Additional info
No response
Thanks for your report 👍
Indeed something we should double check. Currently the operations apply to all messages of a thread also if the message is in a different folder.
cc @nimishavijay @ChristophWurst
IMO if it says Delete thread I expect it to delete everything that is shown in the thread, not a subset specific to the mailbox the thread is opened from.
IMO if it says Delete thread I expect it to delete everything that is shown in the thread, not a subset specific to the mailbox the thread is opened from.
Pls consider many users got accustomed how corporate mail solutions (outlook, gmail...) treat mail threads now, so making it work differently might result in nasty surprises, especially in scenarios mentioned: when deleting delivery failure notifications or having items from the Sent folder disappear. Pls note it's not just deletes but also moves, e.g. OK, this thread is now finished, I'll move it to folder X, resulting in also my Sent messages move to the folder X...
I just tested Gmail
- Sent an email to a non-gmail account
- Replied from the non-gmail account
- Saw the reply in Gmail
- Clicked Delete on the reply
The email from 1. is deleted too.
@ChristophWurst You didn't specify in what folder.
I know Google uses "labels" so maybe it's not the correct naming I am using here, let's just assume it's the same as maildir folders. I have gmail at work and I can see that: I have 1 mail thread for which on day 1 I moved some messages from inbox to folder A, and on day 2 I got a few more messages, moved from inbox to folder B. Result: No message was moved from Sent, part of thread is in folder A, another part of thread is in folder B. I proceeded with deleting the last message (happens in B), and only that message got deleted.
I tested in the inbox
In point 1 of your post, I presume the sending also created a message in your Sent folder. Was it deleted in step 4? If not, then that's one difference.
Yes
Hi there! It looks like this issue hasn’t seen much activity for a while and might need a bit more information to move forward. If we don’t hear back soon, we may close it to keep things organized. Thanks again for your contributions – we really appreciate it!