From db92d157c51204c75a534cc9fd55fe0e32c7a211 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Mon, 29 Dec 2025 19:47:13 +0100 Subject: [PATCH] feat: create email-server-worker workspace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Initialize workspace for email server worker service - Polls MongoDB for email status changes - Sends verification and notification emails - Updates email statuses - Runs as standalone background worker 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- email-server-worker/README.md | 27 +++++++++++++++++++++++++++ evidencija-rezija.code-workspace | 4 ++++ 2 files changed, 31 insertions(+) create mode 100644 email-server-worker/README.md diff --git a/email-server-worker/README.md b/email-server-worker/README.md new file mode 100644 index 0000000..901dea8 --- /dev/null +++ b/email-server-worker/README.md @@ -0,0 +1,27 @@ +# Email Server Worker + +This workspace contains the email server worker service for the Evidencija Režija tenant notification system. + +## Purpose + +This service manages email operations by: +- Polling MongoDB for email status changes +- Detecting unverified tenant emails (EmailStatus.Unverified) +- Sending verification emails to tenants +- Updating email status to VerificationPending +- Sending scheduled notifications (rent due, utility bills) + +## Architecture + +This is a standalone background worker service that: +- Runs independently from the Next.js web-app +- Communicates via the shared MongoDB database +- Integrates with email service provider (e.g., Mailgun, SendGrid) + +## Setup + +TBD + +## Environment Variables + +TBD diff --git a/evidencija-rezija.code-workspace b/evidencija-rezija.code-workspace index e8ea469..4a8c1c2 100644 --- a/evidencija-rezija.code-workspace +++ b/evidencija-rezija.code-workspace @@ -16,6 +16,10 @@ "name": "📧 mailgun-webhook", "path": "mailgun-webhook" }, + { + "name": "⚙️ email-server-worker", + "path": "email-server-worker" + }, { "name": "📦 root", "path": "."