dataTransferMail.htmlmessage — dynamic message (typically: "The following activities were detected in the data transfer area 'AreaName' you observe.") — key plugins.datatransfer.mail.observe.message with {0} substitutionauditEntries — list of recent audit log entries for the area (entire activity, not just downloads)downloadAuditEntries — filtered list: only DOWNLOAD events, shown in a separate section belowlink — direct URL to the data transfer areapf — formatter context: getI18nString() for i18n labels, getString() for date formattingmessage variable, pre-localized by i18n resources)auditEntries — each entry has timestamp, filenameAsString, descriptionAsString, eventType, byUserAsStringclass="button", links to ${link}downloadAuditEntries#INCLUDE directivesThe separation of auditEntries vs downloadAuditEntries allows the recipient to scan "who downloaded what" without scrolling through upload/rename noise.
This template is rendered by DataTransferObserverNotificationJob (a scheduled job that runs periodically, queries audit entries with notified=false, groups them by area, and sends one email per observer). After sending, the notified flag on each audit entry is set to true to prevent duplicates.
Observer activity notification email — sent to users who are watching a data transfer area (have
userWantsToObserve=true). Notifies them about file actions by other users: uploads, renames, deletions, and external downloads.