Added some basic java code to send e-mail.