A Python automation system that monitors contract expirations and client payments. It automatically sends email alerts for upcoming contract renewals, upcoming payments, due payments, and overdue payments, helping the team stay on top of critical deadlines and improve operational efficiency.
-client payment reminders
-Contract expiry alerts
-Emails to: Client, Accountant
-Runs every day at 9 AM automatically via Docker + Cron
✔ Fully automated email reminders
✔ Dockerized — runs on any device
✔ Daily cron scheduling
✔ Secure SMTP credentials via .env
✔ Logging system
✔ Easy to deploy anywhere
pip install -r requirements.txtUsing Docker Compose:
version: "3.9"
services:
contracts:
build: .
command: python contracts.py
env_file:
- .env
volumes:
- ./contracts.xlsx:/app/contracts.xlsx
payments:
build: .
command: python payments.py
env_file:
- .env
volumes:
- ./payments.xlsx:/app/payments.xlsxRun everything together:
docker-compose up --build1.Enable 2-Step Verification on your Gmail account.
2.Go to App Passwords → generate a password for: -App: Mail -Device: Other (name it anythingyouwant)
3.Store credentials in a .env file