Fix issue with mocking user email data.