Enable parameter 'locals' for email templates

In the original implementation of templating support, for some reason, the locals parameter passed to node-email-templates got overwritten, thus preventing users to define template-local variables.