Move some of emailcommon to UnifiedEmail.

Just some refactoring.

Change-Id: If298b5a96d57ba9d3eece33b4a09a74fc52f73cc
25 files changed