Finished the onUserRegister event handler. Cannot send email