ensure that all strings being passed as arguments to the email template ...

...are unicode, and remove encode operations in formcontext