Ensure replies are created before marking the email as seen.
Improve checking for new replies and email sending.