added support for allowing only unique email addresses