[FIX]email_template: fixed call to render_template_batch using a list of ids instead of only one id.