I have a React webpage with HTML components, some of which are styled with CSS, and others of which are styled with javascript ([Glamor](https://github.com/threepointone/glamor)). What I'd like is HTML code with inline CSS that exactly replicates the look of the page to send in an email.

I know I can inline CSS with a package like [Styliner](https://github.com/SLaks/Styliner), but I'm wondering if it's possible to somehow convert the js-defined Glamor styles into plain CSS and inline that as well?

If it isn't possible, then I will probably explore a different route (taking a PDF snapshot of the page). Appreciate the help!