Description
See this exception:
org.apache.james.mailbox.MailboxException: No message found with uid 505 in mailbox #private.INBOX.james-apache-org
at org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
at org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
at org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
at
We should better retry to get the first unseen in this case and only error out if we not was able to get it within x tries.