FortyMM: transactional email templates

Merged into FortyMM, an open-source table tennis league platform. I rewrote the Devise mailer templates, adding a plain-text alternative to every HTML mail, email-safe responsive CSS, and wording that sounds like the sport the product is about.

September 17, 2025

What changed

  • Every Devise mailer template rewritten, with the wording aligned to the product instead of the framework defaults.
  • Added a plain-text version of each template. HTML-only mail is a deliverability liability, and Devise ships no text part by default.
  • Reworked the mail layouts around email-safe CSS and a responsive width, so the templates survive clients that ignore modern layout.
  • Pulled the shared markup into an email helper instead of repeating it per template.

Why it mattered

Transactional mail is the first thing a user meets, before they even have an account, and it was still speaking in framework defaults. The change touched 29 files and added roughly 1,500 lines.

mightymoose/fortymm-- #341, merged