Describe the bug
Currently the client might send requests to the applylabelservice with multiple different mail listIds in a single request.
This is not allowed by the service and leads to a BadRequestException. We need group the request by mail listIds.
To Reproduce
Steps to reproduce the behavior:
Find an account that had received mails before being migrated to mailSets
Send new mail to mailbox
Move newly received mail to some custom folder with mails that were already existing pre-migration.
Select multiple mails in the custom folder (pre-migration and new ones)
Apply label
See BadRequestException
Expected behavior
No BadRequestException is thrown. Applying labels still works.
Implementation notes
The client already supports grouping mails by mail listId. See EditFolderDialog.#getMailIdsGroupedByListId.
Describe the bug Currently the client might send requests to the applylabelservice with multiple different mail listIds in a single request. This is not allowed by the service and leads to a BadRequestException. We need group the request by mail listIds.
To Reproduce Steps to reproduce the behavior:
Expected behavior No BadRequestException is thrown. Applying labels still works.
Implementation notes The client already supports grouping mails by mail listId. See EditFolderDialog.#getMailIdsGroupedByListId.