SOC-3605 | [Notification] Implements the Digest and Instantly mail generate from template.