Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

dubem-design/saas-email-templates

Repository files navigation

WIP - Saas Email Templates (No Longer Maintained)

Plug ang and play email templates for product people ✌️

I created this package for selfish purposes, feel free to use in your own projects.

npm version

Usage

// maybe in like the boostrap/ startup part of your backend
import mailSetup from '@dubem-design/saas-email-templates';

const mailTemplate = new mailSetup({
  config, // Configure at setup level
	layout, // Template Layout carries sections like header, footer and body
  // items from "sections", goes into the body component
});

const { html, text } = mailTemplate.generate({ 
  config, // override at page level
  sections // Sections for the page
});
// page configuration options &
// definition of page sections

See Layout, Config & Sections Options

Layout

Config

Sections

Resources

  • Figma - Best UI design platform
  • MJML - Great for email templates!
  • Gulp - Compile MJML files
  • Esign - E signature maker

License

MIT

About

After years of seeing horrible email templates, one has to find a solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •