Fix issue with mocking user email data.
Merge pull request #33 from meducation/malcyl-fix-mocking-of-email-data

Fix issue with mocking user email data.