refactoring and preparing for adding custom configurations for each newsletter
fixed app.js