I'm developing an archiving app using the Trusted Application model, and my problem is the following:

We archive messages using a cursor for new messages, reading from it, and processing the individual messages. However, after this process has finished, the emails are marked as "read" in the user's inbox. Obviously this is unwanted behaviour, as we want the user to be able to seen new mails, regardless of whether they've been archived. Is there any way to create a cursor that doesn't mark new messages as "read"? Or do I have to do a markAsUnread call for each message?

Thanks in advance,