Merge pull request #135 from Mogztter/mailer-test

Adds tests to the mailer plugin
Allow to send empty body email

Resolves #52