Lead notifications
Email via Mailgun (always); SMS via Twilio (optional). Retried with backoff and resendable.
When a lead is captured Quotespan enqueues a notification to you. The work is done by a queue with retries so a transient provider hiccup does not lose the alert.
Channels
- Email — sent through Mailgun. Always available.
- SMS — sent through Twilio. Only enabled when the Twilio credentials are configured on the server.
Lifecycle
Each notification is persisted with a status: pending → sending → sent. On failure it is requeued with exponential backoff up to 5 attempts, then moved to dead.
Per-user preferences
Toggle notifyByEmail and notifyBySms under /account → Notifications. The dispatcher respects them before enqueueing.
Resend from a lead
Open any lead in the inbox and click Resend notification — useful if the original landed in spam or you simply missed it.