title: IMAP - fetching the previous and next UIDs
body: <p>Using standard spec IMAP commands, how can I determine the previous and next UIDs in a mailbox based on a passed UID, sorting the mailbox messages by date, newest first?</p>