Notification sender with retry

DesignMedium35 min

Your task

Design a basic notification sender for an app that needs to send emails (and later SMS), things like a welcome message, a password reset, or a daily digest. The app should not block while the email is delivered, and a transient failure from the email provider shouldn't lose the notification. Volume is modest, a few thousand sends a day. Cover the components, how the app hands off a notification, and how you handle provider failures.

It covers

  • Queues
  • Retries