Move password email delivery to private method

* The password email delivery can now be overridden