add updates to email sending and updates to fix database caching
Merge branch '1346_newsletter_generator' into bixly-testing