Emails 0.1.1: Email logging, templates and AWS SES tracking as a module
Emails 0.1.1 is the first Hex release of the PhoenixKit Emails module. It moves email logging, templates and delivery tracking out of PhoenixKit core into its own package, so a Phoenix site can add or leave out this part of the admin.
What it gives a site
The module logs every email the app sends through PhoenixKit’s mailer, with optional sampling and optional saving of the full body. Under Emails in the admin sidebar it adds a Dashboard with delivery metrics that can be exported as CSV or JSON, an Emails list with filters and CSV export, a details page per message with its events timeline, Templates with an editor, live preview and a test send, a Queue page with rate-limit status and the failed emails of the last 24 hours, and a Blocklist where addresses can be added by hand or imported from CSV.
For sites that send through AWS SES, it receives bounce, complaint and delivery notifications from SNS at /webhooks/ses (with signature checks and rate limiting) and can poll an SQS queue for the same events. The settings page under Emails in the admin settings holds the tracking options, data retention and the AWS configuration, with a guided setup of the AWS resources.
Installing
Add the dependency and run mix phoenix_kit_emails.install. It adds the Tailwind @source line for the module to app.css and prints the next steps: add the emails and sqs_polling Oban queues, configure the AWS SES credentials if you use SES, run mix phoenix_kit.update and enable the module in Modules. The module needs PhoenixKit 1.7.
Full release notes: Emails 0.1.1
0.1.1 · 27 March 2026
Fixed
- Removed
@behaviourand@implannotations fromProviderto fix compilation warnings (behaviour defined in host app). - Suppressed
Hammerundefined module warning inWebhookController.
Changed
- Rewrote install task to automatically add Tailwind CSS
@sourcedirective toapp.css(idempotent). - Updated
.gitignorewith standard Elixir project entries.
Emails 0.1.1. Install or update: {:phoenix_kit_emails, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.