Propagate implicit lang parameter from mailer to mail templates.

The mailer can be called with an arbitrary `lang` parameter, which is not necessarily derived from the requestheader For instance, an application can store a user's language preference so he sees the application in his favorite language event if he is not on his own computer.