gperales
When working on a side project called TaleWiz during my paternity leave, I needed a way to build and send transactional emails. I missed the developer experience of component-driven email libraries like react-email from the JavaScript ecosystem, but I could not find a similar alternative for Elixir. So, I decided to build one with the help of Claude.
phoenix-email provides a set of standard HEEx components specifically designed for crafting HTML emails. It allows you to build templates using composable elements rather than writing raw, nested HTML tables by hand.
It also integrates with Tailwind CSS, handling the heavy lifting of inlining the styles so they render correctly across different email clients, all natively within Phoenix.
To make it easier to understand the output without having to install the library first, I have deployed a live showcase. You can view real-world templates built with HEEx and Tailwind in the /examples section.
I am actively maintaining the project and would love to hear your feedback, edge cases, or feature requests.
Resources:
-
Live Showcase: https://phoenix-email.fly.dev/
Trending in Announcing
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security









