copy paste of SendMail from earlier project
added dependencies to pom.xml for SendMail.java