Re: Implement Thread/changes for JMAP

2021-08-04 Thread Quan tran hong
Hi Benoit, Today I did try to think of a more optimized way. I did have some ideas but it comes with some challenges. At first, I have a look at EmailChanges to see if I can reuse this for thread changes. The good thing is EmailChanges be produced after Added and Expunged which contains MessageMet

Re: Implement Thread/changes for JMAP

2021-08-03 Thread btell...@apache.org
Hello Quan, Your design proposal would definitly work and I would qualify it of a straightforward solution. With my "efficiency" hat on, I am not really fan of having new events. I was really surprise to discover that JMAP submissions (draft protocol) of a single message did result in the submis

Implement Thread/changes for JMAP

2021-08-03 Thread Quan tran hong
Hello, I am starting working on the Thread/changes topic, and I think I should discuss how to implement this topic with you. After looking at Thread/changes specs, I think we should add thread event-oriented support to our Event Bus. I propose 3 events: Thread create, thread update and thread de