Pass boolean value for mailSyncEnabled to Core

- Remove references of userState and uiStatusManager on window object as
we are nearing production

Fix for https://github.com/Rise-Vision/common-header/issues/259
Merge pull request #285 from settinghead/chore/fix-user-mailsyncenabled-boolean

Chore/fix user mailsyncenabled boolean