fixed kwargs for email template rendering.