What problem does it solve?
It removes the friction of wiring Postmark into a Phoenix 1.8 app’s Swoosh mailer setup by updating the correct config files and environment placeholders safely for production.
Core Features & Use Cases
- Production Postmark adapter wiring: Configures the Swoosh mailer in production to use
Swoosh.Adapters.Postmark backed by POSTMARK_API_KEY.
- Environment-ready sender configuration: Adds
MAILER_FROM_EMAIL (required) and MAILER_FROM_NAME (optional) to .env.sample and maps them into runtime config for the :mailer_from tuple.
- Phoenix/Swoosh correctness checks: Audits existing Swoosh usage, verifies the mailer module exists (creating it if missing), and ensures dev/test use the correct local/test adapters.
- Safety-first discovery: Performs a pre-change discovery report and skips steps that are already configured.
Quick Start
Tell the AI to bootstrap Postmark mailer support for your Phoenix 1.8 app by configuring Swoosh production delivery, adding required environment variables to .env.sample, and verifying or creating your Swoosh mailer module.