Notifications & outbound mail
Set up the email, digests and in-app notifications the platform sends — bind a template to a system event, pick the recipients by role, insert macros from the palette, schedule digests, manage the unsubscribe list — with the caveats, a fix-it checklist and links to the field and macro reference.
What it is and why
Everything the platform tells people on its own — the welcome mail with a set-password link, “your campaign reached its daily budget”, a weekly digest, an in-app banner on the dashboard — is a template bound to one or more of the 135 system events, edited on the five pages of Admin → Notifications. You decide which event sends what, to whom, with which words; the platform fills in the macros, wraps the mail in your white-label frame and sends it.
Example. A publisher’s site dailynews.example.com is approved. The Site Approved event
fires for the site’s owner; the one active email template bound to that event, with no roles
ticked, is rendered with ${user.firstName} and ${site.name} and mailed to ${user.email} —
unless that address is on the unsubscribe list, in which case nothing goes out and nothing says so.
Typical scenarios
| You want | Set | Where |
|---|---|---|
| New users choose their own password instead of receiving one | An email template on Sign Up with ${setPasswordURL} in the body; the link is single-use and valid 72 hours | Email notification templates |
| An advertiser’s owner hears when less than $50 of the budget is left | An email template on Advertiser has less than $50 at the balance, To ${user.email} — the full walkthrough is Low-budget alerts | Email notification templates |
| One mail every Monday at 09:00 listing the week’s “limit reached” events, not a mail per event | A scheduled event 1 per Week, start 0d 9h 0m; then a scheduled notification template on the campaign and banner limit events with the recipient roles ticked | Scheduled events, then Scheduled notification templates |
| A red banner on the dashboard when a banner is rejected, no mail | A UI notification template on Banner Rejected, Display on dashboard on, type Alert | UI notification templates |
| Stop every optional mail to one address today, whatever the user’s preferences say | Add the address | Email unsubscribe list |
Step by step
The main path is a transactional email template. Digests and in-app notifications use the same form with a few more or fewer fields — see the reference.
-
Open Admin → Notifications → Email notification templates. The group is collapsed in the sidebar until you click it. The grid lists Title, Subject, Active and Optional.
-
Select a row and click Edit, or Add for a new one. The form has four cards: Information, Template, Events and Roles.
-
In Information type the Title (required, up to 64 characters — the grid label, never seen by a recipient) and tick Active. An unticked template never sends.
-
In Template fill From, To, Reply to, Subject, the HTML body and, if you want a multipart mail, the Plain text body. To is almost always the macro
${user.email}, not a literal address. Tick Allow users to omit this notification only for mail a user may opt out of — never for sign-up, password or activation mail.
-
Take macros from the palette, not from memory. In the Events card every event row lists its Attributes as links; click one and the Macros available through … popover lists the exact
${…}it exposes, each with a + that drops the macro at the caret of the editor you last clicked into (before any click, at the end of the body). A macro the event does not expose is mailed as literal text — the recipient reads${user.nickname}.
-
Write the body in the code editor. It highlights HTML and the Velocity woven through it (
${…},#if/#foreach,##comments) but validates nothing — an unbalanced#foreachsaves fine and shows up at send time as “Error processing velocity template” in the mail.
-
In Events tick the system events that trigger this template; use Filter to find one by name and Show selected only to review the ticks. In Roles tick the roles whose users should receive it — or leave every box clear, which on this page means all roles.
-
Click Save. A green Done toast appears and you stay on the page; only a brand-new template navigates, to its own edit page. Then trigger the event once for yourself — there is no “send test” button and no outbound-mail log.
Caveats and exceptions
-
Who can do this. Network administrators. Each of the five pages is a separate grant; a page reached by URL without it shows Record not found. Grant the two template pages together with Scheduled events — a digest cannot be saved without one. Everyone else is a recipient only: they control the two email switches on their user record, the unsubscribe link, their notification events and their own digest timing. See Users, roles & permissions.
-
Mail delivery and DKIM are set up by Epom support, not on an admin page. If nothing arrives, ask Epom support or your account manager before you suspect a template. Mail is signed only when a DKIM key exists for the domain of its From address; otherwise it goes out unsigned, silently — ask for a key per sender domain you use.
-
Only Title is checked in the browser. Leave From, To or Subject empty and the form submits, the server answers
Requiredunder each field plus a summary banner, and nothing is saved. -
Roles mean the opposite thing on the two email pages. Email notification templates: no roles ticked = everyone the event targets. Scheduled notification templates (digests): no roles ticked = nobody, silently. Always tick roles on a digest.
-
Two templates bound to the same event both fire — the recipient gets two mails.
-
An event with no active template is a silent no-op. No error, no warning, nothing sent. Deactivating or deleting the wrong template looks exactly like everything working. While experimenting, untick Active rather than delete: a delete also drops the record of which events the template listened to, and there is no undo.
-
Mandatory events must keep a non-optional template. Ticking Allow users to omit this notification on a template for sign-up, forgot password, password changed or the activation events saves, but shows “There are no non-optional active email templates for notifying user about … event. User might not get notifications.” as a red toast instead of Done. That toast is the only place the product says a mandatory notification is uncovered.
-
No event carries a password. Sign-up and activation mail carry
${setPasswordURL}(single use, 72 hours), Forgot Password carries$resetURL(single use, 60 minutes), Password Changed carries only the time, the IP and${forgotURL}. The token sits after the#in the URL, so link scanners cannot burn it. The upgrade that removed the password placeholders replaced the old New Password templates with one Password changed template, active and non-optional — edit its wording, do not switch it off. Details: What is in the mail. -
Build a digest in this order: a Scheduled event first (the recurrence — the digest’s picker is empty without one), then the Scheduled notification template with roles ticked, with HTML body containing
${items}and HTML item for one accumulated event. Only 97 of the 135 events can be digested — those that carry a Target user and name a placement, zone, site, banner, campaign or advertiser; Sign Up, Forgot Password, Password Changed and the … Shared events cannot.
-
Digests are not opt-in, and their defaults are copied once. Every user is subscribed to every scheduled event automatically (on user creation and on event creation); users can only retune frequency, period and start under Account → Preferences → User scheduled events, and frequency 0 is the de-facto mute. Editing an existing scheduled event’s default frequency or start changes nothing for anyone already subscribed — only for users created later.
-
HTML item is rendered when the event fires, not at send time; editing it does not re-render rows already accumulated.
-
Inactive users. Transactional mail still goes to them; digest items are never accumulated for them, and items accumulated before a deactivation are skipped at the next send and lost.
-
Opt-outs and the unsubscribe list. A registered user who turned off Receive notifications by email is skipped on optional mail only; the server reloads that list at the top of every hour, so a change can take up to an hour. The unsubscribe list matches the bare address, ignoring a display name, on To and BCC alike (including a user’s additional recipients, which every Target-user event BCCs automatically). Neither affects non-optional mail, digests or scheduled reports.
-
A mail whose whole recipient list is filtered out is dropped and counted as a success.
-
Mail has no locale. No per-language templates; the branded frame and its “generated automatically” / unsubscribe sentences are fixed English, whatever the recipient’s UI language. The one exception is a scheduled analytics report’s attachment, whose column labels follow the report owner’s language.
-
The Daily Notifications Digest ships inactive. In-app notifications for users with Receive notifications by email on are also queued for one mail at 00:30 network time, rendered from the first active, non-optional email template on the Daily Notifications Digest event. The queue is marked sent whether or not such a template exists — tick Active on that template under Email notification templates to turn the mail on.
-
Low-budget alerts (Advertiser has less than $50 at the balance) repeat on every statistics write while the balance stays low; the threshold is a server-side setting. Full set-up and the digest alternative: Low-budget alerts.
Low-budget alert: get notified when an advertiser’s budget is running low
Moved to its own page: Low-budget alerts — when the event fires, who receives it, the three-step template, and why a digest is often the better choice.
Not working?
There is no outbound-mail log to open, so work down the list. Epom support or your account manager can confirm from the server logs that a message with a given subject was sent, but not its body.
| Symptom | Check | Where |
|---|---|---|
| Nothing arrives, for any event | Mail delivery itself | Ask Epom support or your account manager; not an admin page |
| One event sends nothing | A template is bound to it and ticked Active; on a digest, roles are ticked | Email / Scheduled notification templates → Events and Roles cards; grid columns Active / Optional |
| Mail reaches some users, not others | The template’s Roles (a ticked role excludes the rest); the user’s Receive notifications by email switch (optional mail only, up to an hour’s lag); the address on the unsubscribe list — a filtered-out mail is counted as sent | Roles card; the user’s record; Email unsubscribe list |
| Mail goes to spam or fails DKIM | A DKIM key exists for the From domain | Ask Epom support or your account manager |
The recipient reads ${user.nickname} in the mail | The macro is not in the palette for that event; Velocity renders unknown macros literally | Events card → the event’s Attributes links |
| The mail reads Error processing velocity template | An unbalanced #if / #foreach or a typo in the subject or body; a parse error in From, To or Reply-to drops the mail entirely | The body editor — it highlights, it does not validate |
$properties.company, $host or $port appear as text in the subject | They exist only in the body pass, not in From, To, Reply to or Subject | Helpers |
| The digest never comes | The scheduled event’s frequency is above 0 for that user; the template’s Roles are ticked; the user is active; the event is one of the 97 digestable ones | Scheduled events; the template’s Roles and Triggered events; Account → Preferences → User scheduled events |
| The daily digest of in-app notifications never comes | The Daily Notifications Digest email template is Active and non-optional | Email notification templates |
| Changing a scheduled event’s defaults changed nothing | Expected — defaults are copied to each user once; the user retunes their own copy | Account → Preferences → User scheduled events, or the REST call in the reference |
| A user keeps getting a mail they unsubscribed from | The mail is non-optional (no unsubscribe link), a digest, or a scheduled report — none honour the list | The template’s Allow users to omit this notification |
When a scheduled analytics report does not arrive
Scheduled reports ride the same pipeline on their own hourly run (half a minute past every hour). Almost every failure is silent:
| Cause | Anything logged? |
|---|---|
| The report’s owner is inactive | Nothing at all |
| The owner’s parent account is inactive | Nothing at all |
| The report has no recipients — nobody is a recipient by default, not even the owner | Nothing at all |
| The Scheduled Analytics Report template is missing, inactive, or has Allow users to omit ticked — this stops every scheduled report on the network | An error naming the recipient, never the template |
| A recipient is on the unsubscribe list | One info line |
| Row count exceeded the export limit and was truncated | Nothing at all |
The report template is looked up by its event, not by id; if two active non-optional templates are bound to it, which one is used is arbitrary.
Reference
The essentials; every field, limit and macro is on Notifications & outbound mail: fields, macros and API.
| Page | What it sends | Key rule |
|---|---|---|
| Email notification templates | One transactional mail per event, at once | No roles ticked = all roles |
| Scheduled notification templates | A digest of accumulated events, on a scheduled event’s recurrence | No roles ticked = nobody; needs a scheduled event; 97 digestable events |
| UI notification templates | An in-app notification (optionally on the dashboard, as Information / Alert / Warning) | No roles list; Skip All Notifications roles get none |
| Scheduled events | The recurrences digests subscribe to: count 0–200 per Day / Week / Month, start offset in days + hours + minutes | Defaults are copied per user once |
| Email unsubscribe list | The opt-out ledger for optional mail | Matches the bare address; admin Delete is the only way off |
| Macro / helper | Where it works |
|---|---|
${user.email}, ${user.firstName}, ${user.lastName}, ${user.company}, ${user.phone}, ${user.websiteUrl}, ${user.id} — the Target user (root is user, not targetUser) | Every field of a template whose event carries a Target user |
${setPasswordURL}, $resetURL, ${forgotURL}, ${additionalRecipientsList} and other bare-value attributes | Every field, on the events that declare them |
$StringUtils, $whiteLabelImagesTool | Every field |
$properties (white-label map), $host, $port | HTML body and Plain text body only |
$date | Only the Daily Notifications Digest and Scheduled Analytics Report templates |
| REST | What it does |
|---|---|
GET / POST /rest-api/notification-settings, /subscriptions, /recipients | A user’s user-dependent notification events and extra recipients; refused for Skip All Notifications roles or without view rights on campaigns or inventory |
GET /rest-api/users/{username}/scheduledEvents, POST …/scheduledEvents/{scheduledEventId} | Read and retune that user’s own copy of a recurrence (period 1 = Day, 2 = Week, 3 = Month; frequency; startAt in minutes) |
Related
- Notifications & outbound mail: fields, macros and API
- Low-budget alerts
- Users, roles & permissions
- White-label preferences
- Saved & scheduled reports — scheduled analytics report emails ride the same mail pipeline
- Admin area map