[WO-373] refactor sync

remove email-sync.js
remove delta sync
minor refactorings