Fix api to catch new generate password in mailer"
Fix mailer to catch generated password"