I create zimlet for automatic set mail to read.
I use soap for do this.

var soapCmd = ZmItem.SOAP_CMD[typeOfItem] + "Request";
var itemActionRequest = {};
itemActionRequest[soapCmd] = {_jsns:"urn:zimbraMail"};
var request = itemActionRequest[soapCmd];
var action = request.action = {};
action.id = <MSGID>;
action.op = "read";
var params = {asyncMode: true, callback: null, jsonObj:itemActionRequest};

appCtxt.getAppController().sendRequest(params);
Note : typeOfItem ----> MSG for msg
----> CONV for conversation

I use this code for set mail to read ,
it's work but the number which is next from Inbox not change.

I don't know why.
Please let me know how to solve this problem.