A good test to try: open a folder like Sent, view a message in there, put email in background. Set email to sync messages on the 20 sec dev sync rate. Send a new message, have sync complete. Click on message in the notification. see how next/prev works with that.