Skip to content

feat: add retries and bounce handling to email provider#396

Open
DeePrincipal-dev-lang wants to merge 4 commits into
Disciplr-Org:mainfrom
DeePrincipal-dev-lang:feat/email-provider-retries
Open

feat: add retries and bounce handling to email provider#396
DeePrincipal-dev-lang wants to merge 4 commits into
Disciplr-Org:mainfrom
DeePrincipal-dev-lang:feat/email-provider-retries

Conversation

@DeePrincipal-dev-lang
Copy link
Copy Markdown

This PR adds bounded retries and permanent bounce handling to the email notification provider. It records permanent bounces and marks them non-retryable so the job queue stops retrying.

Changes:

  • Uses retryWithBackoff in src/services/notifications/email.provider.ts.
  • Adds an in-memory bounce store src/services/notifications/bounceStore.ts.
  • Job queue treats errors flagged nonRetryable as permanent failures.
  • Adds tests and README documentation.

Closes #345

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@DeePrincipal-dev-lang Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add email provider delivery retries and bounce handling in src/services/notifications/email.provider.ts

2 participants