Skip to content

Conversation

@stefanotroncaro
Copy link
Contributor

@stefanotroncaro stefanotroncaro commented Nov 5, 2025

Create templates submodule

Features

  • jinja2 based rendering
  • mjml rendering via mrml library
  • inheritable BaseTemplate and BaseEmailTemplate pydantic schemas to relate template files and required arguments
  • flexible post rendering pipeline configurable on 3 levels: template definition, render method call, and service instance
  • component based template definition example, defining a theme to follow a design system for template consistency
  • module usage examples

Proof of testing

Sample email

image

Test suite

image

@stefanotroncaro stefanotroncaro marked this pull request as ready for review November 5, 2025 22:28
@stefanotroncaro stefanotroncaro marked this pull request as draft November 6, 2025 15:39
@stefanotroncaro stefanotroncaro marked this pull request as ready for review November 28, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants