An app to fetch a webpage and prepare it for use as an HTML email.
This app fetches the HTML from a URL and "inlines" the styles so the HTML will work in an email.
We use this app to:
- Prepare Tuesday Newsday for sending.
- This app is written in Javascript, using Express, and it runs on Heroku.
- It uses a [config object][2] to check that the URL comes from an allowed domain.