# swoosh/swoosh

Compose, deliver and test your emails easily in Elixir

Repository: https://github.com/swoosh/swoosh
Canonical: https://ross.abutalabs.com/products/swoosh
Homepage: https://hexdocs.pm/swoosh
Language: Elixir
License: MIT
License Family: permissive
Topics: elixir, email
Last push: 2026-08-24T10:02:37+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3834, "days_push": 9, "days_rel": 10, "gap_med": 12.0, "n_releases_24m": 45}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1523, forks 261 (observed 2026-08-28T04:04:58.129404+00:00)

## What it is
Swoosh is an Elixir library for composing, delivering, and testing emails. It provides a unified mailer API with adapters for popular providers like SendGrid, Mailgun, Mandrill, Postmark, and plain SMTP.

## Use cases
- send transactional emails from a Phoenix app
- compose HTML and plain-text emails in Elixir
- integrate SendGrid or Mailgun for email delivery
- test email sending in an Elixir application
- send emails over SMTP
- build a mailer module with swappable delivery adapters

## When to choose
- you are building an Elixir or Phoenix application that needs to send email
- you want a consistent API across multiple email providers with easy adapter switching
- you need first-class test support for emails in your test suite

## When to avoid
- your project is not on the Elixir/Erlang ecosystem
- you need a full self-hosted mail server rather than a client library for sending email
- you require advanced inbound email parsing or campaign management features

## Facets
- artifact type: library
- maturity: active
- function: email
- domain: email, web-development, backend
- platform: elixir
- tags: email-delivery, smtp, sendgrid, mailgun, phoenix, testing-emails, mail-adapter

## Member repositories
- swoosh/swoosh (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.129404+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:45.505246+00:00, confidence not recorded.
  - readme: https://github.com/swoosh/swoosh (fetched 2026-08-28T04:04:58.129404+00:00, sha 991e9bff9a3f)
  - homepage: https://hexdocs.pm/swoosh (fetched 2026-08-29T11:34:32.473165+00:00, sha d54400d3eb29)
- Data as of 2026-08-30T08:39:29.467469+00:00.
