Emails 0.1.18: Brevo polling restarts itself when the app boots
Emails 0.1.18 fixes Brevo event polling that could stay stopped across restarts even though it was switched on in the settings.
Brevo polling is a chain of Oban jobs, each scheduling the next. If that chain broke, for example after a crash before the next job was queued or after the jobs table was cleared, nothing started it again, and restarting the app did not help. At boot the module now starts the Brevo chain when Brevo polling is on, the way it already did for SQS. With no active Brevo send profile the job simply does nothing each cycle. The module’s system status also reports Brevo polling next to SQS polling.
Full release notes: Emails 0.1.18
0.1.18 · 27 July 2026
Fixed
- Brevo event polling no longer stays dead across app restarts when
brevo_events_enabledis still on but no Oban job row survived (crash beforeschedule_next_poll/1, wiped jobs table, etc.). The supervisor now re-seeds the Brevo chain at boot the same way it already re-seeds SQS — viaBrevoPollingManager.enable_polling/0after Oban is ready. Zero active Brevo profiles is fine; the job no-ops each cycle and still recordslast_polled_at.
Changed
PhoenixKit.Modules.Emails.Supervisor.system_status/0also reportsbrevo_polling_status(alongside the existing SQSpolling_status).- Clarified
BrevoPollingManagerdocs:poll_now/0bypasses only thebrevo_events_enabledtoggle, not the sender-aware profile gate orEmails.enabled?/0.
Emails 0.1.18. Install or update: {:phoenix_kit_emails, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.