Fix for wrong email query

Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change