BEILOFF Toolkit / v1.0.1

Transactional HTML email templates for websites and apps

Prepare six product emails with a subject, an HTML body and a plain-text alternative for each event. Supply the brand and event details before sending.

How the kit works

Sign-in and verification

A prominent code and expiry help users sign in. A separate verification message links back to the product.

Reset and invite

The reset email states the link lifetime. An invitation names the team and links to the review screen.

Enquiries and orders

The receipt includes the enquiry topic and reference. The order message adds the total and a link to order details.

Inside the ZIP

  • README.md
  • build.mjs
  • en.html
  • enquiry-en.html
  • enquiry-en.txt
  • enquiry-ru.html
  • enquiry-ru.txt
  • index.html
  • invite-en.html
  • invite-en.txt
  • invite-ru.html
  • invite-ru.txt
  • login-en.html
  • login-en.txt
  • login-ru.html
  • login-ru.txt
  • order-en.html
  • order-en.txt
  • order-ru.html
  • order-ru.txt
  • render.mjs
  • render.test.mjs
  • reset-en.html
  • reset-en.txt
  • reset-ru.html
  • reset-ru.txt
  • verify-en.html
  • verify-en.txt
  • verify-ru.html
  • verify-ru.txt
  • RELEASE.txt

The layouts use presentation tables and inline CSS. Samples contain fictional data. Inbox rendering and delivery require testing with your provider.

Getting started

  1. Open en.html to browse the HTML and text samples. index.html contains the Russian gallery.
  2. Call render.mjs with the event, locale and fields documented in README. Generate tokens and action URLs on your server.
  3. Send subject, html and text through your provider. Deliver samples to the inboxes used by your audience.

Change the colours and logo

Set example.brand and edit the inline HTML background, text and button colours in render.mjs. Pass your own brand value when calling the renderer. Run node build.mjs and open the HTML and TXT versions in both languages. If you add a logo image, keep the brand name for readers with images disabled.

Verify the result

Run node --test render.test.mjs to verify all twelve pairs and variable handling. Inspect representative mobile and desktop inboxes before rollout.

Google · CSS in Gmail

Release notes

v1.0.1

Added colour and logo customisation instructions to the README.

v1.0.0

Prepare six product emails with a subject, an HTML body and a plain-text alternative for each event. Supply the brand and event details before sending.

Download free in my account