Bug fix; must configure app for theme vars before sending an email