Move mailer into its own package

Resolves #1
Merge pull request #4 from Mogztter/issue-1

Move mailer into its own package