Query users by email

Ciao,
I have question and I cannot find a solution and I need your help. I receive a list of email address from an external mysql database, for each email address I want to check if exists an user in Plone. Obviously the username in Plone is not the email and I cannot use getMemberById. The only founded way is to create a listMembers and check for each the email using the property, but it seem to be articulate. There is another way?

Thanks

This is this the way to go. There is no way to query users by something since users are not content and are not indexes in some way (by default in Plone).

You can set it to be the email (it will give you error if you (already) have several users with the same email)

Plone Foundation Code of Conduct