To avoid multiple email notifications, the emails can be cached per recipient, and a service schedules the consolidation and transmission of those emails.
If the user digests their messages, a persisted copy of the SPFEmailMessage is created and associated with this user, and a task is set up in the scheduler to send this user's email digest.
-
When SPFEmailConfigGroupInd changes, the Digest tasks in the scheduler are updated.
-
When SPFUsersEmailDigestDuration is reduced to zero (this turns of the digest), the scheduler is updated