Provide convenience method for getting a reference to the mailer API

Resolves #2