Use Mock JavaMail to test email sending
Merge pull request #1 from wilkinsona/javamail-tests

Use Mock JavaMail to test email sending