I would like to create an application using mailkit that will run on multiple servers, each targeting the same Exchange/IMAP mailbox looking for new mail, saving down its attachments and then deleting the mail.
There are many code samples to get me going but none that address protecting against 2 or more servers processing the same mail item. Is this possible? I had thought about using the SEEN flag - but would I get an error back if 2 servers tried to update it at the same time?
Thanks