Skinning HTML emails with Drupal using an existing front-end
A requirement that comes up from time to time is being able to use content stored in Drupal and produce rich HTML emails. In a lot of cases the design of these emails matches the design of the existing, already implemented front-end website.
In a recent project, we explored ways of creating HTML email’s which wouldn’t require us to start from scratch and would also evolve as the website’s look and feel did. Our design goals were thus:
- Use the existing website’s CSS to skin the emails.
- Use existing Drupal site-building tools to construct the markup for these emails.
- Allow admins to easily create and preview HTML emails.