Fix for wrong email query

Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
Merge pull request #767 from phsmit/fix_email_query

Fix for wrong email query