Refactor txt version fo digest email