New option to send email during user creation and send it after the user is inserted in the database.

New option to check if need to send an email after user creation and
send it only after the user is inserted into the database, so if there
is an error there the user does not receive an "false" email.