ultisuite-backend/internal/api/mail
R3D347HR4Y 4eadb91a64 Enhance mail API with rate limiting, idempotency, and attachment management
- Added rate limiting for outbound email sends to prevent abuse, implemented in `internal/api/mail/sendguard`.
- Introduced idempotency key support for email sending to avoid duplicate submissions.
- Enhanced attachment handling with new limits and validation in `internal/api/mail/limits`.
- Updated outbox processing to include retry logic and circuit breaker for SMTP failures.
- Improved HTML sanitization for email content to enhance security.
- Added unit tests for new features, ensuring robust functionality and error handling.
- Updated configuration options in `.env.example` for new mail settings.
2026-05-22 17:19:16 +02:00
..
sendguard Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
attachments.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
drafts_test.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
drafts.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
folders_test.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
folders.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
handlers_attachments.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
handlers_drafts.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
handlers_folders_labels.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
handlers_identities.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
handlers_search.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
handlers_test.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
handlers.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
idempotency_test.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
idempotency.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
identities_test.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
identities.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
labels.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
search_advanced.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
search_test.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
service_iface.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
service.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
validate_drafts.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00
validate_folders_labels.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
validate_identities.go Add mail attachment and draft management features 2026-05-22 17:14:36 +02:00
validate.go Enhance mail API with rate limiting, idempotency, and attachment management 2026-05-22 17:19:16 +02:00