attempt to fix email digest bug