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.
Account locked: as sent
Subject: Your account is locked for 15 minutes
Plain-text version
Your account is locked for 15 minutes
There were 5 failed attempts to sign in to your account, so we locked it on 13 October 2026 at 22:48. It unlocks by itself at 23:03.
IF IT WAS YOU
Nothing to do. Wait until 23:03, then sign in as usual.
IF IT WASN'T YOU
Someone may know or be guessing your password. Change it, and turn on two-step verification if you haven't already:
https://example.test/reset-password
We'll never ask for your password by email.
--
You are receiving this because you have a Foundry account.
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.