Skip to content
Rendered welcome email built with email-template-builder

email-template-builder

Write your transactional emails fluently in Java — and get perfectly inlined, responsive HTML plus a matching plain-text version out of a single builder.
Maven Centralbuild status

HTML + text in one build

One fluent builder produces the styled HTML version and a clean plain-text alternative — no second template to maintain.

Get started →

Rich content blocks

Texts, buttons, images, galleries, side-images, key-value attributes, dividers and invoice-style tables — plus an interface for fully custom tables.

Explore the builder API →

Dark mode & responsive

Emails adapt to the client’s dark mode — including separate dark logos and images — and collapse to full width on small screens automatically.

See how it works →

Battle-tested templates

Based on the proven Postmark transactional templates: correct inlining and solid rendering across email clients — including Outlook specials.

Browse the examples →

Invoices & custom tables

Ready-made table presets with images and number formats — or implement your own column layout with the TableLine interface.

Build a custom table →

Lightweight

Only the Pebble template engine as runtime dependency. Java 11+, works with any mail sender (Spring Mail, Simple Java Mail, Postmark, …).

Install in one line →