Newsletters 0.9.0: Role broadcasts skip unconfirmed addresses, and unsubscribing reaches every account
Newsletters 0.9.0 protects your sender reputation: a broadcast to roles no longer mails accounts that never confirmed their email address, and “unsubscribe from all” now reaches every account that delivers to the same inbox.
No newsletters to unconfirmed addresses
An address nobody confirmed may be a typo or made up, and every newsletter sent to it risks a bounce or a spam complaint against you. A broadcast to roles now goes only to a confirmed account, a managed organization (its managers set its address), or anyone at all on a site that does not require email confirmation. The check runs again just before each email, so an account in a queued send that does not pass is recorded as Blocked. Audiences from CRM lists are unchanged.
In the editor, the line under the roles now also counts the users who are not confirmed, and a second line says how many are left out because their address is not confirmed.
Unsubscribing reaches every account at the address
Unsubscribe from all newsletters used to opt out only the account linked to the contact, or the one whose login matched. A managed organization delivering to the same inbox kept receiving role mail. It now opts out every account delivering to that address, and resubscribing clears them all.
Roles by their translated name
The role pickers in the editor and on the Address verification page, and the source on a broadcast’s page, now show each role’s translated label. A role deleted since shows the name it was saved with. The Address verification page also gets the same pager as the broadcast and delivery lists, with a “Showing … of … addresses” line.
Other fixes
- A late “delivered” event from the provider can no longer undo an “opened” or a bounce on a delivery. The status change is now decided on the locked row.
Newsletters.delete_broadcast/1deletes only a row that is still a draft in the database, so a stale copy can no longer delete a broadcast that has since been scheduled or sent. The admin pages have no delete button.- A crashed delivery job no longer stores the recipient’s address in Oban’s job errors and logs.
Upgrading
No migration. Newsletters 0.9 needs PhoenixKit 3.5.0 or later; sites on core 2.x stay on 0.8. After updating, role broadcasts reach fewer people on a site that requires email confirmation: unconfirmed accounts are left out, including in broadcasts already queued.
Full release notes: Newsletters 0.9.0
0.9.0 · 15 November 2026
No migration. Requires PhoenixKit core 3.5.0 or later (>= 3.5.0 and < 4.0.0); hosts on core 2.x stay on 0.8.
Changed
- A role broadcast no longer mails accounts that never confirmed their address. Such an address may be a typo or made up, and every newsletter to it is a bounce or a complaint against the sender. This is core 3.6’s rule for mail nobody asked for (
Auth.unsolicited_mail_allowed?/1), applied on core 3.5 too: a confirmed account, a managed organization (its managers set its address), or anyone on a site withrequire_email_confirmationoff. The check runs again just before each email, so a queued send records such an account asblocked. The editor’s role summary counts the accounts left out. CRM-list audiences are unchanged. - Roles are shown by their translated label (core 3.5’s
Roles.display_name/2) in the editor’s and the verification page’s role pickers, and on a broadcast’s details page. A role deleted since shows the name it was saved with. - The verification page uses core’s pager, with “Showing 1 to 50 of N addresses”, like the broadcast and delivery lists.
- The core floor is 3.5.0, the ecosystem-wide minimum; compatibility code for older cores is gone.
phoenix_kit_templates0.2.5.
Fixed
- “Unsubscribe from all newsletters” missed accounts sharing the address. It opted out only the account linked to the contact, or the one whose login matched, so role mail kept reaching a managed organization delivering to the same inbox. It now reaches every account delivering there, and opting back in clears them all.
- A delivery’s status could be walked back by concurrent provider events. Each event judged the change on its own copy of the row; the change is now decided on the locked row, so a late “delivered” cannot undo an “opened” or a bounce.
- Deleting a broadcast trusted the page’s copy of it, so a stale tab could delete a broadcast that had since been scheduled or sent. Only a row that is still a draft is deleted.
- A crashed delivery job could store the recipient’s address in Oban’s job errors and logs. The error is masked before it leaves the worker, as
delivery.erroralready was.
Newsletters 0.9.0. Install or update: {:phoenix_kit_newsletters, "~> 0.9"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.