I want the shared mail connection object to expose JMAP.mail.report(messages, asSpam, allowUndo) for…
I want the shared mail connection object to expose JMAP.mail.report(messages, asSpam, allowUndo) for…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For example, if I call JMAP.mail.report( m1, m2 , true, false) where both messages are in account accA with ids e1…
The task
For example, if I call `JMAP.mail.report([m1, m2], true, false)` where both messages are in account `accA` with ids `e1` and `e2`, the connection should queue `Email/report` with `{ accountId: 'accA', ids: ['e1', 'e2'], type: 'spam' }` and should not queue undo data. If I call `JMAP.mail.report([m1, m3], false,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.