Instead of sending the actual password in the email message, you could send a link to a PHP page in where you make the user to choose a different password.
When the user clicks on the link, it goes to this page, and changes the password, thus the old password is never displayed...
Not sure if this idea can help you...
Cesar