Migrating users with invalid emails

You can modify the script to make their email be something like USERNAME@mail.invalid and make sure that they are marked as validated so they do not get sent mail. The .invalid address will help if somehow they do get emailed.