How to Inline CSS Styles in Email Mailers Using premailer-rails (Video)

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • premailer-rails

    CSS styled emails without the hassle.

  • I like using premailer-rails to inline the CSS in my Mailer, which allows me to have super clean views while supporting old Email clients (like Outlook).

  • postcss-css-variables

    PostCSS plugin to transform CSS Custom Properties(CSS variables) syntax into a static representation

  • More recently, I started using postcss-css-variables to convert CSS variables into values so I can use modern CSS frameworks like Bootstrap 5 & Tailwind within my mailers.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts