NULL-check all the things
Merge pull request #19 from kenkeiras/fix-javax-mail

NULL-check all the things