Clean up by me
Updated the license
Now using Apache Commons for validation and the sending of mails