not send emails when we create users from csv

And fixed all rubocop issues.