I am using an if clause to select the language of the e-mail. Therefore I am using the session.lang element. This works in most e-mails, but not in time based e-mails. I think they cannot use the session.lang element if they are send from the query. Is there another way to get the language element? Maybe just the user language from the preferences?