The transactional emails every app ends up needing, each with a
plain-text version. Table layout, inline styles and no remote image,
because many mail clients ignore stylesheets and block images. Copy
the files in templates/components/email/ rather than
building new ones.
Daily summary: as sent
Subject: 4 updates in Northfield Health Partners
Plain-text version
Your daily summary
Northfield Health Partners - Friday 16 October 2026
- Amara Okafor commented on "Patient intake redesign"
https://example.test/projects/1#comment-12
- Daniel Osei approved invoice INV-2026-0142
https://example.test/invoices/142
- Tom Whitaker assigned you "Referral tracker: export"
https://example.test/tasks/88
- Isla Fraser joined the Design team
https://example.test/people/16
Open Foundry: https://example.test/
--
You get this summary once a day because notifications are on for your account.
Change how often, or turn it off: https://example.test/account/notifications
Copying these into your own app
- Copy
_layout.html.twigand_button.html.twig, then each email you need as its.html.twigand.txt.twigpair. - Set
accentColorto your app's own accent hex andappNameto its name. - Send both parts from the same values:
htmlTemplate()andtextTemplate()on oneTemplatedEmail, with onecontext(). - Never reference a remote image, your logo included. The coloured tile in the header is the deliberate substitute.