From Dev.to
Node.js Daily Email Scheduling: Cloud Cron and Duplicate-Safe Webhook Retries Explained
Use a cloud cron job to trigger a Node.js email-generation endpoint once a day, then make the endpoint and its downstream consumer idempotent. Short answer: this is the right shape for a daily report...
