Fix strict standards: only variables can be passed as reset() arguments
MDLSITE-1322 Use the recipient's language when sending emails