fix of the email digest helper