Re: [jmap-discuss] Perform actions on all messages of a Mailbox

2016-10-17 Thread Bron Gondwana
This is a very sharp tool! Particularly since a common programming error would be to mess up the filter and send something which matched every message on the server. This is the equivalent of "DELETE FROM Messages;" via SQL. I'd want a few things for safety: 1) a return code which says

[jmap-discuss] Update and status on JMAP spec

2016-10-17 Thread Neil Jenkins
Hi all, If you're keeping an eye on the JMAP Spec repository[1] over the last few days, you'll notice there have been a few changes. Here's an outline of what's new, and what's upcoming: The main change is that JMAP has now been split into 4 specs: the core protocol[2], mail[3], contacts[4], and

[jmap-discuss] Perform actions on all messages of a Mailbox

2016-10-17 Thread D David
Hi all, I was investigating a way for a JMAP client to empty a folder (the usual "Empty Trash" scenario) and it turned out there's nothing in the spec allowing me to do this. The only possible solution would be to fetch Message IDs with a call to getMessageList and then destroy all these IDs