Skip to content

Phase 11.7 — Email Retry System (Production-Ready) #49

Description

@vimal-java-dev

Context:

  • Spring Boot backend (Docker, VPS deployed with blue-green)
  • Async email already implemented (ThreadPoolTaskExecutor)
  • EmailService using interface + SMTP implementation
  • PostgreSQL available
  • Redis NOT used
  • Goal: Add a retry mechanism with failure tracking

Requirements:

  • Store failed emails in DB
  • Retry using the scheduler
  • Track status (PENDING, FAILED, SENT)
  • Clean integration with the existing EmailService
  • Production-ready design (no overengineering)

Proceed step-by-step.

Metadata

Metadata

Assignees

Labels

CodeDesign and deploy new servicesenhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions