fixed typo in rest api

it was possible to import not unique email-adresses