email sync unit tests work