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

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
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.
www.influxdata.com
featured
  • 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).

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • 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.

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

  • Why are "already initialized constant" warnings so common?

    2 projects | /r/rails | 17 Jan 2023
  • How to Send Tailwindcss-Styled Emails With Ruby on Rails 7

    1 project | dev.to | 14 Nov 2022
  • How to Build Your Own Rails Generator

    3 projects | dev.to | 8 Feb 2023
  • Setup TailwindCSS, postcss and esbuild on Rails 7

    12 projects | dev.to | 12 Oct 2022
  • Slack notification when record is created in a db table.

    1 project | /r/rails | 31 Aug 2022

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?