protected function registerPostmarkMailer()
    {
        $postmark = $this->app['config']->get('services.postmark', []);

        $this->app->singleton('swift.mailer', function ($app) use ($postmark) {
            return new Swift_Mailer(
                new Swift_PostmarkTransport($postmark['api_key'])
            );
        });
    }