Merge pull request #4 from Mogztter/issue-1

Move mailer into its own package
Provide convenience method for getting a reference to the mailer API

Resolves #2