# premailer-rails > Guide for integrating and configuring premailer-rails gem in Rails applications to automatically convert CSS to inline styles for HTML emails. Use when working with Rails ActionMailer and email styling, setting up email CSS inlining, configuring premailer options, troubleshooting email rendering issues across email clients (Gmail, Outlook, Apple Mail), or when users mention premailer-rails, CSS inline styles, or email compatibility problems. - Author: Jakub Hozak - Repository: HakubJozak/skills - Version: 20251210215000 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/HakubJozak/skills - Web: https://mule.run/skillshub/@@HakubJozak/skills~premailer-rails:20251210215000 --- --- name: premailer-rails description: Guide for integrating and configuring premailer-rails gem in Rails applications to automatically convert CSS to inline styles for HTML emails. Use when working with Rails ActionMailer and email styling, setting up email CSS inlining, configuring premailer options, troubleshooting email rendering issues across email clients (Gmail, Outlook, Apple Mail), or when users mention premailer-rails, CSS inline styles, or email compatibility problems. --- # Premailer-Rails Integrate and configure premailer-rails to automatically convert CSS to inline styles for HTML emails in Rails applications. ## Overview Premailer-rails solves the fundamental email styling problem: most email clients ignore linked stylesheets and `