fix email digest tpl