Conditionally set logger and queue on mailer

Possible since https://github.com/laravel/framework/pull/4648