https://github.com/datum-cloud/email-provider-resend
Leverage Resend for email sending with Milo
https://github.com/datum-cloud/email-provider-resend
Last synced: 5 months ago
JSON representation
Leverage Resend for email sending with Milo
- Host: GitHub
- URL: https://github.com/datum-cloud/email-provider-resend
- Owner: datum-cloud
- Created: 2025-08-12T19:47:19.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-01-15T18:16:15.000Z (5 months ago)
- Last Synced: 2026-01-15T20:49:35.897Z (5 months ago)
- Language: Go
- Size: 234 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Complete Kubernetes operator implementation that integrates Resend email service with the Milo platform for automated email delivery
## Architecture
* **Controller Manager**: Reconciles Email CRDs by fetching templates, rendering content, and sending emails via Resend
* **Webhook Server**: Processes Resend delivery events (sent/delivered/bounced) and updates Email status
* **Email Provider Interface**: Abstracted email provider supporting multiple backends (currently Resend)
### Key Features
* **Template Rendering**: Dynamic email content using EmailTemplate CRDs with variable substitution
* **Idempotency**: Uses Email UID as idempotency key to prevent duplicate sends
* **Status Tracking**: Kubernetes conditions for email delivery states (Pending/Delivered/Failed)
* **Event Correlation**: Indexes emails by providerID for efficient webhook event processing
* **Priority Support**: Configurable retry delays based on email priority
* **Security**: SVIX webhook signature verification for event authenticity
### Components
* Dual-mode deployment: controller manager + separate webhook server
* RBAC for Email, EmailTemplate, and User CRD access
* Metrics and health endpoints with TLS support
* Leader election for HA deployments
Provides reliable, observable email delivery for the Milo notification system.