I have done a similar project recently which required automated emails to be sent to users and the admin. However this was made possible by integrating Celery task scheduler, and the project was built with Django. Would you be comfortable migrating your web-application to Django, it will be more secure and scale-able, especially when you want make additional features like this. I look forward to discussing this project with you on the chats