A simple flask app that handles the sign up to a newsletter with double opt-in function.
Demo: https://daily-wiki-newsletter.herokuapp.com/
Users can signup with their email adress and select the language of the wikipedia article of the day.
After they have confirmed their email, they are subscribed to the newsletter.
A daily cron job will run sendmail.py
. This will scrape the wikipedia article of the day in the selected language to the email list in Firebase.
The Cloud Firestore Data Structure for the emails: