Documentation
Latch — Password Reset Email
Version 1.0.0 · HTML Email · 7 files · 12 KB
Getting started
- Open index.html in a browser to preview the email.
- Upload the images in assets/images/ to your own server or CDN and replace each image src with its absolute https URL.
- Replace the sample content, and swap the sample values listed under Personalisation for your email platform’s merge tags.
- Paste the HTML into your email service provider with plain-text.txt as the plain-text part.
- Send a test to Gmail, Outlook and Apple Mail before your first real send.
File structure
The download contains these 7 files:
- LICENSE.txt894 B
- README.md1.8 KB
- assets/images/logo.png2.5 KB
- assets/images/src/logo.svg540 B
- documentation/index.html8.0 KB
- index.html9.0 KB
- plain-text.txt676 B
Customisation notes
Host the logo
Email clients load images from the web, not from attachments. Upload assets/images/logo.png to your own server or CDN and replace the src of the logo image with its absolute https URL. The editable source is in assets/images/src/logo.svg.
Change the brand colour
The blue #2563EB appears on the button (twice: the VML fillcolor for Outlook and the background-color of the link), on text links and in the hover rule in the style block. Replace every occurrence with your own colour.
Adjust the expiry time
The 60-minute expiry is mentioned in the preheader, in the body and in plain-text.txt. Keep all three in step with the lifetime of the tokens your application issues.
Personalisation
Suggested subject: Reset your Latch password
Preheader: Use the link inside to choose a new password. It expires in 60 minutes.
The template uses realistic sample values so it previews properly. Replace each with the merge tag your sending platform uses.
| Sample value | Meaning | Example tag |
|---|---|---|
| Maya | Recipient's first name | {{first_name}} |
| [email protected] | Account email address | {{email}} |
| https://example.com/reset?token=sample | Single-use password reset link (three places) | {{reset_url}} |
| 60 minutes | Link lifetime | {{expiry}} |
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.