Update imap service to use the new sync service. The new sync state is stored as simple file on disk to avoid contention with concurrent vault writes.