added mailer classes to pom and created a mailer in the jsp