ProtonMail / proton-bridge

Proton Mail Bridge application
GNU General Public License v3.0
1.14k stars 152 forks source link

Messages moved to Local Folders in Thunderbird stay behind in Webmail #434

Open tangodev opened 10 months ago

tangodev commented 10 months ago

Hello,

in order to reduce the size of my mailbox I move some emails to Thunderbird's Local Folders. This however, is causing annoying side effects.

Expected Behavior

When moving a message from any IMAP folder connected via Bridge to Local Folders the message should be removed also in Webmail.

Current Behavior

When a message is moved from a folder in Thunderbird connected via Bridge the change happens client-side. When checking Webmail however, the message is still in its original location.

Possible Solution

This seems to be tied with this:

  1. https://github.com/ProtonMail/proton-bridge/issues/433
  2. https://github.com/ProtonMail/proton-bridge/issues/386

Steps to Reproduce

  1. Select any message (eg. in Inbox)
  2. Move it to a folder in Local Folders in Thunderbird
  3. Wait for sync
  4. The message moved correctly in Thunderbird, but it stayed in Webmail

Version Information

OS: Kubuntu 23.04 Thunderbird: 1:115.3.1+build1-0ubuntu0.23.04.1 Bridge: v3.4.2 (br-165)

Context (Environment)

Impact: the issue makes Bridge much less reliable. Moving messages away to offline folders is a basic feature and forcing the user to manually clean up after using it leads to a bad user experience. The server is assumed to be the single source of truth and clients follow that source. Now, other devices will keep those emails unless cleared by the user.

ALSO: long term, how can users keep their mailboxes in good shape without moving things?

Detailed Description

When moving a message away from the IMAP folder, make sure the event gets replicated to the server.

davidlesieur commented 4 months ago

I'm observing the same issue with Thunderbird 115.9.0 (1:115.9.0+build1-0ubuntu0.22.04.1), and Bridge v3.10.0 (br-194).