Skip to content

PhoenixKit 1.2.5: Email tracking for outgoing mail

PhoenixKit 1.2.5 adds an email tracking system. Every email the app sends can be logged, together with what happened to it afterwards: delivered, opened, clicked, bounced or marked as spam.

The Email Tracking System card on the modules page turns it on and has its settings: Save Full Email Body, Track AWS SES Events, and Retention Days, from 7 to 365, for how long logs are kept. Logged emails are listed at /admin/email-logs, each with a details page. AWS SES sends its events to a new webhook at /webhooks/email. Mix tasks cover the rest: mix phoenix_kit.email.stats, mix phoenix_kit.email.export, mix phoenix_kit.email.cleanup, mix phoenix_kit.email.verify_config and mix phoenix_kit.email.test_webhook.

Upgrading

Run mix phoenix_kit.update to apply migration V07, which adds the email log and event tables.

Full release notes: PhoenixKit 1.2.5

1.2.5 · 5 September 2025

Added

  • Magic Link Authentication - Passwordless login via email
  • Magic Link Routes - Integrated into router macro

Changed

  • Email Templates - Added magic link email template

PhoenixKit 1.2.5. Install or update: {:phoenix_kit, "~> 1.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.