Description
= Objective
As an user i want to move messages from mailbox to mailbox.
= How
Updating the mailboxIds field of one or more messages by sending an Email/set request, replacing the entire set of mailboxIds of the messages.
= Example
== Request
[[ "Email/set", { "accountId": "ue150411c", "update": { "messageId1": { "mailboxIds": { "mailboxId1": true, "mailboxId2": true, "mailboxId3": false } } } }, "0" ]]
== Response
{ "sessionState": "75128aab4b1b", "methodResponses": [ ["Email/set", { "updated": { "messageId1": { mailboxIds: { "mailboxId1": true, "mailboxId2": true, "mailboxId3": false } } } }, "0"] ] }
= Definition of done
Write integration tests to show that user can update mailboxIds for one/many messages in the same request. Target mailboxIds could be one or severals ids.