Logs every outgoing email and tracks delivery, bounce, complaint, open and click events, with AWS SES events polled from SQS. It adds analytics, rate limiting, a blocklist, queue management, archival of old data to S3 and email address verification. It stores email logs and events; templates are now files handled by phoenix_kit_templates, and this package keeps only a one-time export of legacy database templates.
Use it when
- You send through AWS SES and need bounce and complaint handling
- You need to see what emails went out to whom, and their open and click rates
What it gives you
- Email log with optional body and header storage, CSV export
- AWS SES events via SQS polling and webhook processing
- Open pixel and link-rewrite click tracking; engagement and campaign stats
- Rate limiting (Hammer), blocklist and outgoing queue view
- Cleanup, body compression and S3 archival of old data
- Address verification (syntax, DNS MX, optional SMTP check)
- Admin pages under /admin/emails
Example
mix phoenix_kit_emails.templates.export # --dry-run to preview first
Emails news
Nothing posted about Emails yet. Read its changelog or see all PhoenixKit news.
Install
1
Add to mix.exs
{:phoenix_kit_emails, "~> 0.7"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_emails
- Releases
-
- 0.7.0
- 0.6.0
- 0.5.5
- Admin
-
/admin/emails - Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in Business operations.
Calendar
A personal calendar per user, with permissions to view others'
No other modules needed
CRM
Contacts, companies and logged interactions, with per-role access
Needs Comments
Customer Support
Support tickets with statuses, internal notes, attachments and assignment
No other modules needed
Inbox
Internal webmail between your app's users, with shared mailboxes
No other modules needed
Locations
Physical locations with custom types, amenities and per-owner access
No other modules needed
Newsletters
Email broadcasts to CRM lists or roles, with layouts and unsubscribe
Needs templates