# Swoosh

> Compose, deliver and test your emails easily in Elixir

Source: https://talira.ai/catalog/swoosh-kstmd7qf
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / email clients](https://talira.ai/categories/libraries/email-clients), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Swoosh contributors](https://talira.ai/orgs/swoosh.md)

Swoosh is an Elixir library for composing, sending and testing email. A mailer module sends through one of many built-in adapters: SMTP and Sendmail, and transactional email services such as SendGrid, Mailgun, Postmark, Amazon SES, Brevo, Mandrill, Mailjet, SparkPost, Resend, Microsoft Graph and Gmail, with third-party adapters for more. It sends asynchronously, handles attachments, has test assertions and a local adapter for tests, lets you preview sent emails in the browser through a mailbox plug (in development, or in production behind your own protection), and emits telemetry events.

## Links

- GitHub: https://github.com/swoosh/swoosh
- Docs: https://hexdocs.pm/swoosh

## Problems it solves

- send transactional email from my Phoenix app through SendGrid or Postmark
- switch email providers in Elixir without rewriting my mailer code
- preview the emails my Elixir app sends during development

## Features

- adapters for SMTP and 30+ email services, including SendGrid, Mailgun, Postmark and Amazon SES
- async delivery and attachments
- test assertions and a test adapter
- mailbox preview in the browser
- telemetry events

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 1.00, adoption 0.64, momentum 0.33, community 0.94, backing 0.30, extensibility 0.00.

- last commit yesterday
- 65 commits in the last 90 days
- latest release v1.30.0 11 days ago
- 1.5k GitHub stars
- 220 contributors
- backed by Swoosh contributors

## Alternatives

- [Bamboo](https://talira.ai/catalog/bamboo-ef27vakx.md): Adapter-based email library for Elixir, with test helpers and Phoenix integration
- [gen_smtp](https://talira.ai/catalog/gen-smtp-x4sn6kdh.md): SMTP client and server library for Erlang

## Sources

[^1]: https://github.com/swoosh/swoosh/blob/main/LICENSE.txt (checked 29 Nov 2026)
