7 Notifications and Email
TraxrGRC sends plain-text email for reminders, decisions, rule matches, scheduled reports, security alerts and outside assessments. This chapter covers the mail server, the templates every email is built from, the daily sweeps that find due work, notification rules, scheduled report delivery, testing and troubleshooting.
7.1 How email is sent
- Something in the application decides an email is due: a status change, a daily sweep finding an overdue review, a rule matching, a scheduled report coming round.
- The application renders the template (subject and body with the placeholders filled in) and writes a row to the delivery log with status Queued.
- It hands a job to the background worker service through the job queue in the database.
- The worker connects to the SMTP server from Settings → Integrations and sends the message, then marks the row Sent, or Failed with the server's error.
The consequences for an administrator:
- No worker, no email. The web service only queues. If the worker container is stopped, rows stay Queued until it runs again.
- Links in emails are built from
APP_URL. Set it to the address users reach the service at (see Configuration Reference), or every link points to the wrong host. - Email is plain text, one recipient per message. There are no HTML templates.
- Recipients are accounts, with one exception: assessment emails
(
assessment.sent,assessment.reminder,assessment.returned) go to the outside contact named on the assessment request. No other email goes to an address that is not a user of this installation, and there are no webhooks.
7.2 Configuring SMTP
The mail server is configured on Settings → Integrations, in the SMTP
card. There are no environment variables for it: the settings live in the
database and are included in backups. Until it is configured, TraxrGRC
tries localhost port 25 with the sender grc@localhost, which fails in a
container, so every email is logged as Failed.
Saving and testing are administrator operations.

| Field | What to enter |
|---|---|
| Authentication | None for a relay that accepts the server without signing in, Username and password, or Microsoft 365 (Graph). An installation set up before this field existed shows the method it was already using. |
| Host | The SMTP server or relay hostname. Required, except with Microsoft 365 (Graph). |
| Port | 587 for submission with STARTTLS, 465 for implicit TLS, 25 for an internal relay. |
| Username | With a password: the account to authenticate with. |
| Password | With a password: the account's password. Stored encrypted and never sent back to the browser; a stored one shows "Stored. Type to replace." |
| Sending mailbox | With Graph: the email address of the mailbox that sends. It is also the From address. |
| Tenant | With Graph: the directory (tenant) ID, or a verified domain such as contoso.onmicrosoft.com. |
| Client ID | With Graph: the application (client) ID of the app registration. |
| Client secret | With Graph: the secret's value. Stored encrypted and never sent back to the browser, like the password. |
| From address | The sender on every email, for example [email protected]. Required, except with Microsoft 365 (Graph). |
| Use TLS (port 465) | On for implicit TLS (port 465). Off for STARTTLS or a plain relay. |
Rules the server enforces:
- A password is never sent in clear. With a password and Use TLS off, the server must offer STARTTLS; a relay that does not is refused with an error. Use port 465 with Use TLS, turn on STARTTLS at the relay, or use an unauthenticated relay. Graph always uses HTTPS.
- Changing the destination clears a stored credential unless you type it again in the same save. Changing the host or port clears a password; changing the mailbox, tenant or client ID clears a client secret. The form still saves; sending then fails and says what is missing until you type it again.
- Choosing another method removes what the old one stored: the password, or the mailbox, tenant, client ID and client secret.
- An unauthenticated relay is used with opportunistic STARTTLS.
To configure the mail server:
- Open Settings → Integrations.
- Fill in the SMTP card and click Save. The save is recorded in the Audit Log with the values before and after (the password only as changed or unchanged), and every administrator is sent a security alert.
- Click Send test email (see below).
When an instance is restored onto a server with a different settings key, the
SMTP password and client secret cannot be decrypted: they read as empty, the
server logs settings.decrypt_failed, and authenticated sending fails until
you type them again (see "A lost secret" in the Disaster Recovery Guide).
7.3 Microsoft 365 through Graph
Microsoft is retiring username and password sign-in for SMTP in Exchange
Online, so use Microsoft 365 (Graph). TraxrGRC signs in as an
application with the client credentials grant, so sending depends on no
person's sign-in, and it uses HTTPS instead of SMTP. It asks
https://login.microsoftonline.com/<tenant>/oauth2/v2.0/token for a token with
the scope https://graph.microsoft.com/.default, holds the token in memory
only, and posts each email to the Graph sendMail action for the mailbox. Both
the web and worker services need outbound HTTPS to login.microsoftonline.com
and graph.microsoft.com.
You need a licensed mailbox to send from, and someone who can administer both Microsoft Entra ID and Exchange Online.
-
Register the application. In the Microsoft Entra admin center, App registrations, New registration, single tenant. Note the Application (client) ID and the Directory (tenant) ID, and under Certificates & secrets create a client secret and copy its Value. Keep this registration separate from the one used for account reviews, so reading the directory and sending mail stay apart. Set a reminder for the secret's expiry: once it passes, email stops until you enter a new one. Do not add
Mail.Sendunder API permissions, and remove it if it is already there. -
Register the service principal in Exchange. In PowerShell, with the Object ID from Enterprise applications. Microsoft warns against using the IDs on the App registrations page.
Install-Module -Name ExchangeOnlineManagement Connect-ExchangeOnline -Organization <tenantId> New-ServicePrincipal -AppId <application client ID> -ObjectId <enterprise application object ID> -DisplayName "TraxrGRC email" -
Limit it to the mailbox. Create a scope that matches only the sending mailbox, then assign the role over that scope. An administrative unit holding only that mailbox, with
-RecipientAdministrativeUnitScope, does the same job.New-ManagementScope -Name "TraxrGRC mailbox" -RecipientRestrictionFilter "PrimarySmtpAddress -eq '[email protected]'" New-ManagementRoleAssignment -App <enterprise application object ID> -Role "Application Mail.Send" -CustomResourceScope "TraxrGRC mailbox" -
Check the scope. The first result must show the role in scope; the second, for any other mailbox, must not. This test looks only at Exchange and skips permissions granted in Microsoft Entra ID, so also confirm step 1's permission is absent.
Test-ServicePrincipalAuthorization -Identity <enterprise application object ID> -Resource [email protected] Test-ServicePrincipalAuthorization -Identity <enterprise application object ID> -Resource [email protected] -
Fill in the SMTP card. Authentication Microsoft 365 (Graph), then Sending mailbox, the tenant, client ID and client secret. Host, port and TLS do not apply and are hidden.
-
Save and click Send test email. A test always asks Microsoft for a new token. The worker keeps its token until shortly before it expires. Microsoft also caches Exchange role changes for 30 minutes to 2 hours, so a test can fail for that long after a change.
Scheduled reports over about 2.9 MB (3,000,000 bytes) go as a link instead of an attachment with this method, since Microsoft needs a separate upload for larger attachments. The email says so, and the delivery log shows linked. Expect a copy of each email in the mailbox's Sent Items.
Block sign-in on the sending mailbox's account in Microsoft Entra ID. Nobody needs to sign in as it, and sending continues with sign-in blocked, including new tokens after the block.
A settings change can take up to 30 seconds to reach the worker, so an email sent immediately after a change may still use the earlier settings.
| Error | What it means |
|---|---|
Getting an email access token from Microsoft failed: AADSTS... | Microsoft refused the request for a token. The code says why: a wrong tenant, client ID or secret value, or an expired secret. |
Microsoft refused the email access token (401) | The token did not work even after asking for a new one. Check the tenant and client ID. |
Microsoft refused to send as ... (403 ...) | The app has no right to this mailbox. Check steps 2 to 4; a recent change can take up to 2 hours to apply. |
Microsoft found no mailbox for ... (404 ...) | Check the address and that the mailbox has an Exchange license. |
Microsoft is throttling email | Microsoft asked TraxrGRC to slow down. It waits and tries again, then the queue retries. |
Microsoft did not answer, so this email may or may not have been sent | The connection failed after the request left. The row is marked Failed and not resent, to avoid a duplicate. |
Delivery log shows Sent, and the bounce or message trace shows 550 5.7.708 Access denied, traffic not accepted from this IP | Exchange accepted the message, then refused to relay it outside your organization. Reports tie this to low-reputation sending, especially on new tenants. If it continues, open a Microsoft support case and include the message trace details. |
No client secret is stored for email. | The secret was cleared by a change to the mailbox, tenant or client ID, or could not be decrypted after a restore. Type it again and save. |
7.4 Google Workspace through the SMTP relay
For Google Workspace, use Google's SMTP relay service. It sends without a person's account and can be limited to your own domains. Your server needs a stable public IP address.
- In the Google Admin console, Apps, Google Workspace, Gmail, Routing, find SMTP relay service and click Configure. This setting needs the Gmail Settings administrator privilege, and it belongs at the top-level organization.
- Under Allowed senders, choose Only addresses in my domains. Do not choose Any addresses.
- Under Authentication, check Only accept mail from the specified IP addresses and add the server's public IP address.
- Under Encryption, check Require TLS encryption. Google then rejects a connection without TLS.
- On the SMTP card: Authentication None, Host
smtp-relay.gmail.com, Port587, Use TLS off, and From address an address in your domain. - Save and click Send test email.
The allowlist is the only sign-in here, so anything else sending from that IP address can also use your relay as an allowed sender. On shared hosting, use Require SMTP Authentication with Username and password instead, where Google's relay requires TLS.
7.5 Testing email
Send test email on the SMTP card sends a message to your own account's address, with the product name and "email test" in the subject. The result appears at once: "Test email accepted. Check your inbox." or "Test email failed:" with the server's reason. "Accepted" means the mail server or Microsoft took the message, which does not prove delivery, so confirm that it reached your inbox.
The test is sent directly by the web service. To prove the whole path through the worker, check a real email in the delivery log:
- Save the SMTP card. Saving emails every administrator a security alert.
- Open
/settings/notifications, tab Delivery log. - Find the
security.alertrows for the save. Sent means the worker delivered them; Failed shows the reason in Error; Queued that stays queued means the worker is not running.
For a test instance, the deployment includes a mail catcher that accepts every message and shows it in a web page. It is meant for trying things out, never for production:
docker compose --profile dev up -d mailpit
Then set Host mailpit, Port 1025, no username and Use TLS off,
and open http://127.0.0.1:8025 on the server to read the messages.
7.6 The Notifications page
Settings → Notifications (address /settings/notifications) has four
tabs:
| Tab | Who sees it | What it holds |
|---|---|---|
| Templates | notifications:read; editing needs notifications:update | Every email's subject and body |
| Rules | Administrators | Notification rules |
| Delivery log | notifications:read | Every email queued; rule and scheduled report emails only for administrators |
| Scheduler | notifications:read; saving needs notifications:update | When the daily sweeps run and their lead times |
The built-in GRC Manager role holds read and update on Notifications. All
changes are recorded in the Audit Log under the module notifications.
7.7 Templates
Every email TraxrGRC sends is built from a template with a fixed key. The Templates tab lists each one with its Key, Name, Module, Subject and an Enabled switch, with search and column filters. The Module filter offers Risks, Compliance, Policies, Controls, Awareness, Data privacy, Evidence, Contracts, Assessments, Reports and Platform.

7.7.1 Template keys and their variables
The variables below are the ones each default template uses. {{app.name}}
(the product name from Branding) and {{terms.customer}},
{{terms.customers}}, {{terms.vendor}}, {{terms.vendors}},
{{terms.partner}} and {{terms.partners}} (from Terminology) work in every
template.
| Key | Sent when | Variables |
|---|---|---|
risk.review.due | A risk review falls within the review lead days | risk.title, review.dueDate |
risk.review.overdue | A risk review is late: past its date, inside its grace window | risk.title, review.dueDate |
risk.review.missed | A risk review is past its grace window | risk.title, review.dueDate |
risk.appetite.breach | A risk's residual score moves into an over-appetite band | risk.title, risk.score, risk.band |
risk.exception.expiring | An approved risk exception expires within the exception lead days | exception.title, exception.expiresAt, risk.title |
risk.acceptance.rejected | Someone rejects the exception request a review's "Accepted over appetite" result raised; sent to the reviewer | risk.title, exception.decidedBy, risk.url |
compliance.exception.expiring | An approved compliance exception is expiring | exception.title, exception.expiresAt, item.code, item.name |
policy.review.due | A policy review is coming due | policy.title, review.dueDate |
policy.review.overdue | A policy review is late: past its date, inside its grace window | policy.title, review.dueDate |
policy.review.missed | A policy review is past its grace window | policy.title, review.dueDate |
policy.exception.expiring | An approved policy exception is expiring | exception.title, exception.expiresAt, policy.title |
policy.acknowledgement.requested | People are asked to acknowledge a policy | policy.title, policy.version, acknowledgement.dueDate, acknowledgement.url |
policy.acknowledgement.due | An acknowledgment is coming due | same as above |
policy.acknowledgement.overdue | An acknowledgment is late | same as above |
awareness.due | An awareness program not yet completed comes due (once) | program.title, program.dueDate |
awareness.late | An awareness program not yet completed is past its due date (once) | program.title, program.dueDate |
control.audit.due | A control check is coming due | control.name, test.dueDate, control.successCriteria |
control.audit.overdue | A control check is late: past its date, inside its grace window | control.name, test.dueDate, control.successCriteria |
control.audit.missed | A control check is past its grace window | control.name, test.dueDate, control.successCriteria |
control.audit.failed | A control check is recorded as failed | control.name, test.completedAt, test.notes |
control.coverage.failed | An automatic coverage test fails when its previous result was not a fail, a first result included (to the control owner, or every administrator when the control has none) | control.name, test.label, test.threshold, result.day, result.coverage, control.url |
control.coverage.relaxed | An administrator turns off a coverage test, lowers its threshold, or relaxes the coverage grid under it (to the control's owner and owner group) | control.name, change.by, change.summary, change.reason, control.url |
control.maintenance.due | A control task is coming due | control.name, test.dueDate, control.maintenanceTask |
control.maintenance.overdue | A control task is late: past its date, inside its grace window | control.name, test.dueDate, control.maintenanceTask |
control.maintenance.missed | A control task is past its grace window | control.name, test.dueDate, control.maintenanceTask |
device.exception.requested | Someone requests a device exception; sent to its approver | exception.title, device.name, exception.capabilities, exception.expiresAt, exception.url, exception.requestedBy, exception.description |
device.exception.decided | A device exception is approved or rejected; sent to its requester | the five above, plus exception.decision, exception.decidedBy, exception.decisionNote |
device.exception.expiring | An approved device exception expires within the exception lead days and no renewal is requested; sent to its requester | exception.title, device.name, exception.capabilities, exception.expiresAt, exception.url, exception.renewUrl (opens a renewal) |
device.exception.expired | The nightly sweep marks an approved device exception expired; sent to its requester once | same as above |
dataprivacy.review.due | A record of processing review is coming due | record.name, review.dueDate |
dataprivacy.review.overdue | A record of processing review is late: past its date, inside its grace window | record.name, review.dueDate |
dataprivacy.review.missed | A record of processing review is past its grace window | record.name, review.dueDate |
dataprivacy.dpa.expiring | A third party's data processing agreement (its current DPA contract) is expiring | thirdParty.name, dpa.expiresAt |
dataprivacy.dpa.expired | A data processing agreement has expired | thirdParty.name, dpa.expiresAt |
evidence.expiring | Evidence is within its expiring window of its valid-until date: 30 days, or a quarter of its validity when shorter (to its owner and, for a third-party report, the third party's owner; one email if they are the same person) | evidence.title, evidence.type, evidence.thirdParty (", name" or empty), evidence.validUntil, evidence.url |
evidence.expired | Evidence has passed its valid-until date (to the same people as evidence.expiring) | as evidence.expiring |
contract.notice.approaching | The notice deadline of an active contract that renews automatically is 60, 30 or 7 days away (to its owner; each once per deadline). None once notice of non-renewal is recorded, or before the contract's effective date. The contract.* reminders skip data processing agreements, which use dataprivacy.dpa.* | contract.title, contract.type, contract.counterparty, contract.endsAt, contract.noticeDeadline, contract.daysLeft, contract.renewalNote, contract.url |
contract.expiring | An active contract that does not renew automatically ends within 60 days (once per end date) | contract.title, contract.type, contract.counterparty, contract.endsAt, contract.url |
contract.expired | An active contract has passed its end date (once per end date), unless it had already ended when it was recorded or notice of non-renewal was given | as contract.expiring |
contract.obligation.due | An open obligation on an active contract is due within 14 days (to the obligation's owner, else the contract's owner; once per due date) | obligation.title, obligation.category, obligation.dueAt, obligation.url, contract.title, contract.counterparty |
contract.obligation.overdue | An open obligation's due date has passed (once per due date) | as contract.obligation.due |
contract.clause.review.due | A library clause's next review is within 14 days (to the clause's owner, else everyone in its owner group, who can open the library; once per review date) | clause.title, clause.category, clause.reviewDue, clause.url |
contract.clause.review.overdue | A library clause's review date has passed (once per review date) | as contract.clause.review.due |
contract.review.requested | A contract is submitted for review (to each active user whose roles may approve it, not the submitter; administrators by flag alone are not emailed) | contract.title, contract.type, contract.counterparty, contract.actor, contract.reviewNote, contract.url |
contract.signature.requested | A contract is approved (to each active user whose roles may sign it) | as contract.review.requested; contract.reviewNote is the approver's note, empty when none |
contract.returned | A contract is sent back to draft (to whoever submitted it) | as contract.review.requested; contract.reviewNote is what needs to change |
contract.request.received | Someone asks Legal for a contract with Request a contract (to each active user whose roles grant contracts Review on it, not the requester) | as contract.review.requested; contract.actor is the requester and contract.reviewNote their message to Legal |
dataprivacy.tia.due | A transfer impact assessment review is coming due | thirdParty.name, tia.country, tia.reviewDue |
dataprivacy.tia.overdue | A transfer impact assessment review is late | thirdParty.name, tia.country, tia.reviewDue |
dataprivacy.questionnaire.sent | A data mapping questionnaire is sent to a Data Liaison | request.subject, request.requester, request.template, request.dueDate, request.message, request.url |
dataprivacy.questionnaire.submitted | A Data Liaison submits answers | request.subject, request.respondent, request.template, request.url |
dataprivacy.dpia.approvedAgainstAdvice | A DPIA is approved after the DPO advised changes or not proceeding (to the DPO) | dpia.title, dpia.record, dpia.approver, dpia.recommendation, dpia.reason, dpia.url |
dataprivacy.attestation.sent | The annual check of a record goes to its Data Liaison | request.subject, request.dueDate, request.url |
dataprivacy.attestation.cancelled | Completing a record's review by hand closes the annual check sent to its Data Liaison (to the Liaison) | request.subject, request.reviewer |
dataprivacy.questionnaire.due | A questionnaire is coming due | request.subject, request.dueDate, request.url |
dataprivacy.questionnaire.overdue | A questionnaire is late | request.subject, request.dueDate, request.url |
assessment.sent | An assessment is sent to an outside contact | assessment.title, assessment.contactName, assessment.dueNote, assessment.url |
assessment.reminder | An unanswered assessment is coming due | assessment.title, assessment.contactName, assessment.dueDate, assessment.url |
assessment.returned | Answers are returned to the contact for rework | assessment.title, assessment.contactName, assessment.flaggedCount, assessment.dueNote, assessment.url |
assessment.overdue | An assessment was not answered by its due date; its link stays open | assessment.title, assessment.contact, assessment.dueDate, assessment.url |
assessment.extension.requested | The contact asked for more time from the questionnaire (to the request's owner) | assessment.title, assessment.contact, assessment.dueDate, assessment.url, extension.until, extension.note |
assessment.completed | An assessment is completed | assessment.title, assessment.contact, assessment.score |
report.scheduled | A scheduled report is sent | schedule.name, report.title, report.generatedAt, attachment.note, report.url, profile.url |
comment.mentioned | A comment mentions someone, by name or through a group, who can read the record (one email per comment per person; not to the author). Sent by default with no notification rule; turn the template off to stop it. Holds no comment text | comment.author, mention.whom ("you", or "the Legal group"), record.label, record.title, record.url (to the comment), tasks.url |
notification.rule | A notification rule matches | event.summary, event.detail, record.label, record.title, record.url, rule.name, profile.url |
digest.daily | The daily digest, when turned on | digest.date, digest.body |
digest.weekly | The weekly summary of what is late or missed for a person, when turned on (see Scheduler) | summary.date, summary.count, summary.body, tasks.url |
security.alert | A security event (see Audit Log and Evidence Integrity) | alert.title, alert.detail, alert.actor, alert.ip, alert.time, alert.url |
user.password.reset | An administrator resets a user's password | reset.by, reset.time |
user.password.changed | A user changes their own password on My profile | change.time |
user.email.changed | An administrator changes a local user's email; sent to the old address | change.by, change.time |
user.mfa.reset | An administrator resets a user's two-step verification | reset.by, reset.time |
user.invite | An administrator adds a user with an invitation | link.url, link.expiresAt, link.by |
user.password.link | An administrator sends a link to choose a new password | link.url, link.expiresAt, link.by |
Dates in reminder variables are written yyyy-MM-dd. alert.time,
reset.time and change.time are shown in the recipient's time zone. The
digest.daily subject defaults to "{{app.name}} daily digest:
{{digest.date}}".
7.7.2 Editing a template
- Click the template's key. The edit dialog opens.
- Change the Name (up to 120 characters), Subject (up to 300) or
Body. Placeholders are written
{{variable.name}}. - Check the Available vars panel beside the fields. It lists each
variable the template receives, with its meaning, plus
app.nameand the terminology variables. A placeholder not in the list is named in red under the body as you type, and Save template stays disabled until it is removed; the server refuses it too. - Click Preview to see the subject and body as they will read, with your
product name and terminology filled in and each other placeholder shown as
its name in brackets (for example
[risk.title]). It works on the text in the dialog, saved or not. - Click Send me a test to email that preview, marked
[Test], to your own address only. It goes straight to the mail service rather than through the queue, so the page says at once whether it was sent or why not; it is not listed in the delivery log, and the audit log recordstemplate.test. - Click Save template. The next email queued from that template uses the new text; emails already queued keep the old text.

Things to know:
- Only the listed placeholders are accepted, so a misspelled one cannot go out as blank or literal text. A placeholder whose value is empty for a particular record (an optional field) still renders as nothing.
- Restore default puts back the name, subject and body the product ships
with, after you confirm; whether the template is on or off stays as it is.
The audit log records
template.restorewith the text before and after. - Upgrades add new templates and never overwrite ones you edited.
- Keep the security wording in
notification.ruleandreport.scheduledthat tells people why they receive the email and links toprofile.url, where they can opt out. - Template edits and switches are recorded in the Audit Log with the text before and after.
7.7.3 What people can change for themselves
The Notifications tab of My profile lets each person shape their own
email, within limits you cannot loosen or tighten (the classification lives in
src/lib/notifications/preferences.ts):
| Kind | Templates | What a person can do |
|---|---|---|
| Optional | comment.mentioned, assessment.completed, dataprivacy.attestation.cancelled, delegation.granted, delegation.revoked, digest.weekly | Turn each one off. The delivery log then shows it Skipped with recipient-opted-out. A person who turned mentions off is also no longer reached by a rule as a mentioned person (as an owner or named recipient they still are). |
| Reminders | The due, late, missed and expiring reminders the daily sweep sends (each once per state), and dataprivacy.attestation.sent | Choose one by one or a daily digest, overriding the Daily digest switch. Never off: an owner who stopped getting reminders would defeat them as a control. |
| Always sent | Security, password and two-step emails; requests for a decision, review, signature, answer or acknowledgment; contract returned, requested and DocuSign updates; risk appetite breaches, failed control checks and coverage tests, DPIAs approved against advice; digest.daily | Nothing. Shown locked with the reason. |
| Rules and reports | notification.rule, report.scheduled | Opt out of each rule or schedule, as before. |
A template turned off here stays off for everyone; a person's choice affects
only their own email. Each choice is recorded in the Audit Log
(userNotificationPreference). A template added in a later release is
always sent until it is classified.
7.7.4 Turning a template off
The Enabled switch stops a template without editing it. Nothing is sent
from a disabled template: fixed notifications are logged as Skipped with
the reason template-disabled, and rule and scheduled report emails as
Suppressed. Disabling security.alert stops security alerts to
administrators; leave it on.
7.8 Scheduler
The Scheduler tab holds the Daily sweeps scheduler card. Once a day the worker scans reviews, exceptions, control checks and tasks, awareness programs, data processing agreements, transfer impact assessments and questionnaires and queues the reminders above. The same run handles deadline notification rules, assessment reminders and repeats, and policy acknowledgment reminders.

| Setting | Default | What it means |
|---|---|---|
| Daily digest | Off | When on, each person gets one digest.daily email listing their items instead of one email per item. It is the default only: anyone may choose one by one or a digest for themselves on My profile, and their choice wins either way. |
| Weekly summary | On | When on, each person gets one digest.weekly email a week, from the first sweep on or after Monday, listing what is late or missed for them (at most 25 items, the rest counted, with a link to My Tasks). Items reminded that same day are left out, and nobody with nothing to list gets one. A late awareness program stays on it for four weeks after its due date. Stored as notifications.weeklySummary. |
| Cron schedule (UTC) | 0 7 * * * | When the sweep runs: five fields (minute hour day month weekday) in UTC. 0 7 * * * is 07:00 UTC every day; 30 5 * * 1-5 is 05:30 UTC on weekdays. Invalid expressions are refused. |
| Review lead days | 7 | Reviews (risk, policy, data privacy), control checks and tasks, and awareness programs due within this many days are reminded as "due". 0 to 365. |
| Exception lead days | 14 | Approved risk, compliance and policy exceptions expiring within this many days are flagged. 0 to 365. |
| Organization time zone | America/New_York | The IANA zone that decides which calendar day it is for everyone: due and overdue (My Tasks, control status, lists, reports, the AI assistant), expiry of exceptions and evidence, new review, check and task dates, POA&M opened and due dates, the sweep's due and overdue buckets, form defaults and export file names. Each person's own zone still decides how times are shown. Stored as organization.timeZone; audited with the scheduler settings. Choose the zone your staff and auditors work in; the cron schedule stays in UTC. |
Click Save settings to store them. Saving applies a changed Cron schedule (UTC) to the job queue at once, and the confirmation reads "Scheduler settings saved. The new schedule is active." If the queue cannot be reached (for example because the worker has never run), the save still succeeds and a warning says "The new schedule takes effect when the background worker next starts"; start or restart the worker in that case:
docker compose restart worker
The digest switch, the weekly summary and the lead days apply at the next run.
Reminder cadence. Every sweep reminder goes out once per state and due date, never daily (P6):
| Item | Reminders, each once |
|---|---|
| Risk, policy and processing record reviews; control checks and tasks | Due (on entering the review lead days), late (the day after its date, while inside its grace window) and missed (once past the grace window). The grace window is the one under Control testing settings: a share of the item's interval, at least and at most the days set there. |
| Awareness programs | Due, then late, to each person who has not passed it. |
| Risk, compliance, policy and device exceptions | Expiring, on entering the exception lead days. |
| Data processing agreements, transfer impact assessments, evidence, questionnaires, contracts, obligations and clause reviews | Due or expiring, then overdue or expired, as before. |
Moving a due date with a reason starts the reminders afresh for the new date. After that, the weekly summary is the only email about an item that stays late, until it is done. Escalation beyond that is for notification rules. The GDPR 72-hour authority clock is not a sweep reminder: the deadline strip and My Tasks keep it in view by the hour.
Run sweeps now runs the whole sweep at once and reports how many items it found, for how many recipients, and how many digests and weekly summaries it queued. It sends real email. A reminder already sent for that state and date is never sent again, so running it next to the scheduled run sends nothing twice. A reminder goes only to a person who can still read the record it names. The run is recorded in the Audit Log.
Who gets a reminder follows the rule My Tasks uses: a record with a named Owner is reminded to that person alone, whatever its owner group; a record with only an Owner group is reminded to every active member of that group. A named owner who has been deactivated gets nothing and nobody is reminded in their place, as in My Tasks, so reassign their records. Two kinds of record fall back further: a transfer impact assessment with no active owner goes to whoever its vendor is assigned to, and a contract obligation with no owner and no owner group goes to whoever its contract is assigned to. A third-party report's evidence reminder also goes to the vendor's owner. Notification rules are separate: there you choose the owner, the owner group's members, or both.
7.9 Notification rules
Fixed notifications go to record owners on fixed events. Notification rules let an administrator email other people about other events. The Rules tab and every rule action are for administrators only. A new or upgraded installation has no rules.

7.9.1 Creating a rule
Watch the video: How to create a notification rule and edit a template
- Click New rule. The New notification rule dialog opens.
- Fill in the fields and click Create rule (Save rule when editing).

| Field | What it means |
|---|---|
| Name | Up to 120 characters. Shown in the email, in the delivery log and on each person's My profile page. |
| Trigger | Comment added, Record created, Status changed, Audit finding created, Control check failed, Coverage test failed, Coverage test relaxed, Deadline approaching or Deadline missed (grace ran out). Control check failed is a failed check or task; Coverage test failed is an automatic coverage test starting to fail, on the same condition as its owner's email, so a rule can also reach a group or a webhook. Coverage test relaxed is a coverage test turned off, replaced while on or given a lower threshold (the same saves the Overrides report lists); its detail says when the test was failing at the time, and gives the reason. |
| Records | Risk, Control, Compliance requirement, Policy, Risk exception, Compliance exception, Policy exception, Device exception, Incident, Project, Third party, Audit finding, as far as the trigger applies to them. None checked means every kind the trigger supports. |
| Only when the record's status is | Optional. For Status changed, the new status; for other triggers, the status at the time. None checked means any status. |
| Recipients | Any mix of: the record's owner; the members of the record's owner group; people @mentioned in the comment (Comment added only; anyone the comment.mentioned email already reached for that comment is left out, so nobody gets two emails about one comment); named users; members of chosen groups; members of every group carrying a chosen role. Active users only; no outside addresses. At least one recipient is required. |
| Enabled | Uncheck to pause the rule. |
| Leave record titles out of webhook posts | Applies only to the rule's webhooks (below). Posts then carry the event, the record's type, id and status, and a link. |
7.9.2 How rules are delivered
- Event triggers (comments, creation, status changes, findings, failed tests) are read from the Audit Log every minute, so an email follows the change within a minute or two.
- Deadline triggers run with the daily sweep, using the scheduler's Review lead days and Exception lead days. A deadline rule emails once when a deadline enters the lead window and once when its grace has run out (missed), the same grace the reminders use (10% of the interval within the organization's minimum and maximum; the minimum for project and finding deadlines). Late inside grace sends nothing from a rule: the owner's own reminder covers it. For risk, policy and control reviews, checks and tasks, whose owners the daily reminders already reach, a rule leaves the record's owner (or its owner group's members, for a record with no named owner) out, so nobody gets two emails for one item. Moving the date starts again.
- Access is checked twice: when the rule fires and again just before
sending. A recipient who may not open the record gets nothing (
no-access). - Nobody is emailed about their own change.
- Each person gets at most 20 rule emails an hour; the rest are suppressed
(
rate-limit). - Content is minimal: the record's title or reference, what happened and a link. Comment text, descriptions and other fields are never included. An incident recorded as a personal data breach is named only by a short reference, since its title can name affected people.
- Retries: a rule email that the mail server refuses is tried four times, a minute or more apart, before it is marked Failed. One left in Sending by a crash is marked failed after 15 minutes and never resent.
- Opt-outs: anyone can switch a rule off for themselves on My profile. The Opted out column counts them. An administrator cannot override an opt-out.
7.9.3 Bulk changes and rules
Changes made through an API token (including the bundle loader) and through a
CSV import send no rule emails by default; the delivery log lists them as
Suppressed with the reason api-write. This keeps a data load from
flooding people's inboxes. To include them, turn on Notify on API changes and
CSV imports below the rules list. The hourly cap still applies. Fixed
notifications (reminders, decisions) are not affected by this switch.
7.9.4 Webhooks
A rule can also post each event it matches to an HTTPS endpoint, such as a Microsoft Teams channel (a Teams workflow's "When a Teams webhook request is received" URL), a Slack incoming webhook or your own receiver. Webhooks are for administrators only.

-
List the host. Under Webhook hosts below the rules list, enter each host a webhook may post to, one per line, and click Save hosts. An entry is a host name (
prod-12.westus.logic.azure.com), an IP address, or*.example.comfor any host under a domain. Nothing is posted to a host that is not listed, and removing a host stops its webhooks at once (the delivery log showswebhook-host-not-allowed). A webhook's URL and secret are encrypted for that webhook alone; one that cannot be read (copied from another row in the database, say, or not for its own host) is never posted to, and the delivery log showswebhook-unreadable. Remove it and add the endpoint again. -
Add the webhook. Click Webhooks on the rule's row, paste the endpoint URL, pick the format (JSON, Microsoft Teams or Slack) and click Add webhook.

Figure 7.8. A rule's Webhooks dialog: the endpoints it posts to, and adding one with its format. -
Keep the signing secret. It is shown once, when the webhook is added. Give it to the receiver; New secret replaces it, and the old one stops working at once.
-
Send test. Posts a sample event now and shows the endpoint's answer.
What is posted. The event, when it happened, the rule's name, and the record's type, id, status and link, plus its title unless the rule's Leave record titles out of webhook posts is on. Comment text, descriptions and other fields are never posted: a channel has no reader whose access could be checked, unlike an email recipient. A JSON post looks like this:
{
"id": "rule:…:webhook:…",
"event": "comment.added",
"occurredAt": "2026-11-01T14:03:11.000Z",
"rule": { "id": "…", "name": "Comments on risks" },
"record": { "type": "risk", "id": "…", "title": "Data breach of customer database", "status": "open", "url": "https://grc.example.com/risks/…" }
}
id is the same for every retry of one post, so a receiver can drop repeats.
Checking a post. Every post carries X-Webhook-Timestamp (Unix seconds)
and X-Webhook-Signature: v1= followed by the hex HMAC-SHA256 of
<timestamp>.<body> under the webhook's signing secret. Recompute it over the
raw request body, compare in constant time, and reject a timestamp more than
five minutes old. Teams and Slack check their own URL's key instead and ignore
these headers.
Network safety.
- Only HTTPS, with no user name or password in the URL.
- The host is resolved when the post is sent, and the post is refused if any
address it resolves to is private, loopback, link-local (including the
169.254.169.254 cloud metadata address) or otherwise not public, unless the
host is listed as itself rather than under a
*.entry. The check is made on the address the connection actually uses, so a name that changes its answer between checks cannot slip through. - Redirects are never followed, and the endpoint has 5 seconds to answer. Any status outside 2xx is a failure.
Delivery. Posts go through the same queue as rule emails: one per rule,
event and endpoint, tried four times before Failed, at most 60 an hour
per endpoint (rate-limit), and suppressed for API and import writes as rule
emails are. The delivery log lists each post with the recipient webhook:
and the host. The URL is stored encrypted like other secrets (a Teams URL
carries its own key in its query string), and only the host appears on pages
and in the Audit Log. A rule still needs at least one email recipient.
7.10 Scheduled reports delivery
Scheduled reports are set up by users with Reports rights on Reports → Scheduled (see the User Manual, Report Center). For the administrator:
- Each scheduled report email uses the
report.scheduledtemplate and is sent through the same SMTP settings and worker. The worker checks for due schedules every minute. - Each recipient's copy is prepared with that recipient's permissions at sending time, so two people can get different files.
- The Risk Register and Device coverage can be sent as PDF, rendered on the server for each recipient like the compliance package PDF and through the same limit of two PDF renders at once; the Device coverage PDF holds every view. Other Report Center reports go as CSV.
- Files over 10 MB are not attached; the email links to the report instead.
- A schedule missed while the worker was stopped runs once when it comes back.
- Recipients are active users only, and each can unsubscribe on My profile. There are no outside addresses, so a report for leadership with no account (a board, a chief executive) is forwarded by a recipient. This was decided on 2026-11-16 and is to be revisited now that the leadership reports can be sent as PDFs.
- Failed sends are retried like rule emails.
- Administrators see every scheduled report email in the delivery log, with the schedule's name in Rule or schedule and the attachment name.
A new or upgraded installation has no schedules. On an upgraded installation, add Create, Update and Delete on Reports to the roles that should manage schedules (see Users, Groups and Roles).
7.11 The delivery log
The Delivery log tab lists every email, newest first, with Created, Template, To, Rule or schedule, Subject, Status, Error and Sent at. Filter by status and search across the recipient, subject, template key and error. Users who are not administrators do not see rule or scheduled report emails.
| Status | Meaning |
|---|---|
| Queued | Waiting for the worker. |
| Sending | A rule or report email being sent. |
| Sent | Accepted by the mail server. |
| Failed | The mail server refused it or could not be reached; Error holds the reason. |
| Skipped | A fixed notification deliberately not sent: template-disabled, template-not-found, no-recipient, recipient-unavailable (the user is inactive or gone), recipient-opted-out (the person turned that email off on My profile), or "sent in digest" when the item went into a digest. |
| Suppressed | A rule or scheduled report email deliberately not sent: no-access, opted-out, api-write, rate-limit, recipient-inactive, record-deleted, rule-disabled, template-disabled, schedule-paused, schedule-deleted or report-unavailable. |
A fixed notification that fails is not retried: it stays Failed. Sweep
reminders are sent once per state, so a failed one is not sent again for that
state; the next state's reminder and the weekly summary still go out. Event
emails such as risk.appetite.breach are not sent again either, so fix the mail
server and tell the people concerned.
7.11.1 Troubleshooting
| Symptom | Likely cause and fix |
|---|---|
Every row Failed, error mentions localhost or ECONNREFUSED | SMTP was never configured. Fill in Settings → Integrations → SMTP. |
| Rows stay Queued | The worker is not running. Check docker compose ps and docker compose logs worker. |
| Failed with an authentication error | Wrong username or password, or the password was cleared by a host or port change. Type it again and save. With Graph, see the errors under Microsoft 365 through Graph. |
| Failed with a TLS or STARTTLS error | Port and Use TLS do not match the server: 465 needs Use TLS on, 587 needs it off. A relay without STARTTLS cannot take a username. |
| Sent, but nothing arrives | The mail was accepted and then filtered or rejected downstream. See deliverability below and check the relay's own logs. |
| Reminders arrive at the wrong hour | The cron is in UTC. If saving showed the warning that the schedule takes effect when the worker next starts, restart the worker. |
| Links in emails point to the wrong address | APP_URL is wrong. Fix it in the deployment's .env and restart. |
| Nobody gets rule emails after a data load | Expected: API and import changes are suppressed (api-write). |
7.12 Deliverability
TraxrGRC hands mail to your SMTP server; whether it reaches inboxes depends on how that server and your domain are set up.
- Send through your organization's relay (Microsoft 365, Google Workspace, or your own mail gateway), never directly to the internet from the server.
- Use a From address on your own domain that the relay may send as, for
example a shared mailbox or a send-as permission for
[email protected]. - Make sure SPF, DKIM and DMARC cover the relay for that domain. A From address on a domain whose SPF does not list the relay is often rejected or filed as junk, and the delivery log still shows Sent.
- Allow the sender in your mail filtering if reminders land in junk, and tell staff to expect mail from it.
- Assessment emails go to outside contacts. Their mail systems apply their own filtering; a From address on your main domain with DMARC alignment gives the best chance.
- Volume is modest (sweeps once a day, rules capped at 20 per person an hour), but a first sweep after loading a large register can queue many reminders at once. Check the relay's sending limits before go-live.