Zentyal/sogo — pull request #50 by sixstone-qq (2014-10-06 22:56:18+00:00)
Title: oc-mailfolder: Avoid setting seen flag on preloading message bodies

Fetching a body[text] property using IMAP makes IMAP server set seen flag.

This commit fetches the flag beforehand to restore the previous state
once the body has been fetched.