Revert to using profile.emails as an array.

Signed-off-by: Ben McIlwain <bmcilwain@ngpvan.com>