Page 1 of 1

Adding tag to mail with same message-id

Posted: Wed May 15, 2019 10:37 am
by marco.piazza
we are developing a Zimlet that allows the user to "protocol" some emails by saving some infos on a dedicated database. We'd like to add a tag to the selected emails so that other users who have also received them know that those emails have been already "protocolled".
Is there a command we could launch via javascript or java that does it automatically when called with the message-id and the name of the tag? It would happen very frequently so it has to be quick and have a low load on the server.

Thank you,