Premailer

screenshot of Premailer

Preflight for HTML email

Overview:

Premailer is a gem designed to optimize HTML e-mail delivery by converting CSS styles to inline style attributes. This tool makes managing newsletters easier by handling style conversions, preserving attributes, and checking compatibility with email client capabilities. Additionally, it offers the option to create a plain text version of the HTML content.

Features:

  • Inline CSS Conversion: Converts CSS styles to inline style attributes for better email delivery.
  • Preservation of Existing Attributes: Checks and preserves existing inline attributes in the HTML content.
  • Relative to Absolute Paths Conversion: Converts relative paths to absolute paths for proper link handling.
  • CSS Property Checking: Verifies CSS properties against email client capabilities.
  • Plain Text Version Generation: Optional feature to create a plain text version of the HTML content.

Summary:

Premailer is a valuable gem for optimizing HTML e-mail delivery by converting CSS styles to inline attributes, preserving existing attributes, and ensuring compatibility with various email clients. With features like plain text version generation and configuration options, it offers a comprehensive solution for managing newsletters effectively. This gem is a recommended tool for anyone working with HTML email templates.