# onevcat/Hedwig

Send email to any SMTP server like a boss, in Swift and cross-platform

Repository: https://github.com/onevcat/Hedwig
Canonical: https://ross.abutalabs.com/products/hedwig
Language: Swift
License: MIT
License Family: permissive
Topics: swift, mail, smtp, cross-platform, server
Last push: 2026-04-03T15:16:21+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 8, longevity 100
- inputs: {"age_days": 3536, "days_push": 152, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1123, forks 67 (observed 2026-08-28T04:03:40.409194+00:00)

## What it is
Hedwig is a Swift package providing high-level APIs for sending email through any SMTP server, supporting plain, SSL, and STARTTLS connections. It offers authentication methods, HTML bodies, attachments, and queued non-blocking mail sending, cross-platform via Swift Package Manager.

## Use cases
- send email from a swift server app
- send emails via smtp with ssl or starttls
- send html emails with attachments in swift
- authenticate with smtp using cram-md5 or xoauth2
- queue outgoing emails without blocking the app
- send mail from swift on linux

## When to choose
- you are building a server-side Swift app that needs to send email
- you need cross-platform (macOS/Linux) SMTP support in Swift
- you want queued or concurrent non-blocking email sending

## When to avoid
- you need to receive or parse incoming email rather than send it
- your project is not written in Swift
- you need a full email service with templates and analytics rather than an SMTP client

## Facets
- artifact type: library
- maturity: maintenance
- function: email
- domain: email, backend, developer-tools
- platform: cross-platform
- tags: smtp, swift-package-manager, mail-sending, server-side-swift, linux, macos

## Member repositories
- onevcat/Hedwig (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.409194+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-30T06:40:53.273648+00:00, confidence not recorded.
  - readme: https://github.com/onevcat/Hedwig (fetched 2026-08-28T04:03:40.409194+00:00, sha 739e185ba76b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
