Mailer improvements.

* Update luting to 0.0.5.
* Inject messages api directly.
* Simplify api wrapper.