mjml-email-templates

Convert MJML templates into HTML emails for .NET applications.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/tientt010/Dotnet-JiraLite-Microservices --skill mjml-email-templates-tientt010
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mjml-email-templates
Source: https://github.com/tientt010/Dotnet-JiraLite-Microservices/tree/main/.github/skills/mjml-email-templates
Command: npx skills add https://github.com/tientt010/Dotnet-JiraLite-Microservices --skill mjml-email-templates-tientt010

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts MJML templates into production-ready HTML emails that render consistently across Outlook, Gmail, and Apple Mail.

Core Features & Use Cases

  • Centralized layout templates (_Layout.mjml) and content templates (e.g., UserInvitations/UserSignupInvitation.mjml) to create reusable email designs.
  • Variable substitution to personalize content such as site URLs, names, and invitation links.
  • A C# renderer that loads templates from embedded resources, composes layout with content, renders to HTML, and provides an admin preview endpoint for development.

Quick Start

Provide template variables and run the renderer to produce the final HTML email.

Frequently Asked Questions about mjml-email-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert MJML templates to HTML emails in a .NET application?

Yes, you can personalize MJML emails using variable substitution. The renderer performs variable interpolation to replace placeholders with dynamic content like site URLs, names, and invitation links before compiling to HTML.

What is the best way to ensure HTML emails render consistently across Outlook and Gmail?

Yes, this approach supports reusable email designs by using centralized layout templates and separate content templates, allowing you to create consistent, reusable structures for transactional messages and invitations.

Can I use MJML for dynamic transactional emails and notifications in .NET?

During development, you can preview rendered MJML emails using an admin preview endpoint. This endpoint allows you to view the final HTML output before sending transactional messages or notifications.

Do I need to manage external template files when rendering MJML emails in C#?

No, you do not need to manage external template files. The C# renderer loads MJML templates directly from embedded resources, simplifying deployment and ensuring templates are securely packaged within your application.

How does variable interpolation work when personalizing MJML email templates?

Variable interpolation works by replacing placeholders in your MJML templates with dynamic values. The renderer merges layout with content and substitutes variables like names and invitation links to produce personalized HTML emails.