Mock SMTP server and add unit test for password reset email process