I believe the proper way to do this is to use the User.EMAIL parameter in an IdentityQuery (which is a pretty cool API btw.)

         boolean emailExists = partitionManager.createIdentityManager().createIdentityQuery(User.class)
                  .setParameter(User.EMAIL, email).getResultCount() > 0;
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira