tijsverkoyen/CssToInlineStyles
CssToInlineStyles takes an HTML document and a stylesheet and returns the same markup with the matching declarations written into style attributes, which is what email clients require to render consistently. It is installed with Composer and used by calling convert() with the HTML and CSS strings; Laravel's Markdown mailer and several CMS projects rely on it. Pseudo selectors and CSS escapes are not supported, and UTF-8 must be declared in the document head.
Maintenance activity