Skip to content

Emails 0.8.0: Email address verification moves out, and what to do before you update

Emails 0.8.0 removes email address verification from the PhoenixKit Emails module. If your Phoenix app used it, there are a few steps to take before you update; if not, this release is a quiet update with two bug fixes.

Address verification has moved

The module used to check whether subscriber addresses really exist, with background workers and an SMTP runner script. Newsletters now uses a verification engine configured by the host app instead, so the old machinery is gone: the Verification API and its four workers, the “Mailbox verification (SMTP)” settings section, the SMTP runner and its download route, the two machine-API tools for SMTP jobs and the email_verification queue.

Fresh installs no longer create the verification tables. Existing tables and their rows are kept: no migration drops them.

Before you update

If you used address verification, do this first, in order:

  1. Switch the SMTP verification mode off.
  2. Remove the verification workers from Oban.Plugins.Cron. A cron entry pointing at a removed worker stops Oban from starting.
  3. Let running batches finish and cancel the remaining verification jobs.
  4. Remove the email_verification queue from your Oban config and revoke emails.smtp_runner:run API keys.

The module’s README has the full steps under “Upgrading after address verification was removed”.

Fixes

  • Exporting email templates (mix phoenix_kit_emails.templates.export) now finds the old template table when PhoenixKit is installed in a named database schema. It used to return an empty export.
  • The emails list no longer crashes on odd URL filters such as ?status[]=sent.

Dependencies were also updated for security advisories, including Ecto 3.14.3.

Upgrading

Follow the steps above if you used verification, then update the dependency; there is nothing to migrate. Old email_verify_* settings and :verification_* config keys are simply no longer read, so they can be removed at leisure. Without verification, just update.

Full release notes: Emails 0.8.0

0.8.0 · 11 November 2026

Removed

  • Address verification is removed from this package (#61). Gone: the PhoenixKit.Modules.Emails.Verification API and its workers (BatchStartWorker, VerifyEmailWorker, QueueSweepWorker, LocalRunnerWorker), the “Mailbox verification (SMTP)” settings section, the SMTP runner script and its download route, the machine-API tools emails.claim_smtp_jobs and emails.report_smtp_results, and the email_verification Oban queue. Newsletters uses a host-configured verification engine instead. Old email_verify_* settings and :verification_* config keys are no longer read.
  • The migration chain no longer creates the verification tables. V4 and V5 keep their version numbers but add nothing; fresh installs get no verification tables and mix phoenix_kit.repair no longer manages them. Existing tables and their rows are kept — never dropped by up/1 or down/1.

Upgrade note

If you used address verification, prepare the host before updating this dependency: switch the SMTP mode off, remove verification workers from Oban.Plugins.Cron (a cron entry for a removed worker stops Oban from starting), let in-flight batches finish and cancel the remaining verification jobs, then remove the email_verification queue and revoke emails.smtp_runner:run API keys. The README’s “Upgrading after address verification was removed” section has the full steps.

Fixed

  • The legacy template table check (Templates.legacy_table_exists?/1, used by TemplateExport.active_template/1 and mix phoenix_kit_emails.templates.export) now looks in the configured :phoenix_kit schema prefix. It used to probe only the search path, so a host installed under a named schema got an empty export.
  • The emails list no longer crashes on nested or list URL filters (e.g. ?status[]=sent, ?from_date[x]=y); the eight string filters fall back to empty.

Changed

  • Dependency updates for security advisories: ecto 3.14.3, phoenix_html 4.4.0, saxy 1.7.0, ssl_verify_fun 1.1.9.

Emails 0.8.0. Install or update: {:phoenix_kit_emails, "~> 0.8"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.