When a user is created, Moodle matches the given id against the set of emails in the database to check for conflicts. This match should be as per RFC standards.
User can be created by:-
Admin from admin panel individually
Admin from admin panel using bulk option