The other way would be to inject `mailer_configuration` and then fetch the value. And depending on what you're doing in the mailer (what you need exactly), this might make sense.