use getPassword instead of getText for the JPasswordField (deprecated)
Notify the user than the email was sent successfully