Fix e-mail sending custom templates.