swoosh-emails

Installation
SKILL.md

Swoosh Emails

Canonical FP bar: docs/fcis-engineering-rules.mdFunctional Core, Imperative Shell: pure domain modules; side effects at edges. HTTP/email/i18n adapters are edges; keep request building and response mapping pure where possible.

RULES — Follow these with no exceptions

1. Define emails in separate modulesMyApp.Emails.UserEmail, not inline in contexts 2. Use Phoenix components for email templates — reuse UI components in emails 3. Configure delivery per environment — Local adapter in dev/test, real adapter in prod 4. Test emails with Swoosh.TestAssertions — assert emails were sent with correct content 5. Never send emails synchronously in web requests — use Oban for async delivery; Task.start only for simple cases

Setup

Installs
10
GitHub Stars
1
First Seen
Jun 20, 2026
swoosh-emails — igmarin/elixir-phoenix-skills