Further refactor sync to imap initialization.
Start message server when needed.