# email-spec/email-spec

Collection of RSpec/MiniTest matchers and Cucumber steps for testing email in a ruby app using ActionMailer or Pony

Repository: https://github.com/email-spec/email-spec
Canonical: https://ross.abutalabs.com/products/email-spec
Language: Ruby
License: MIT
License Family: permissive
Topics: rspec-matchers, rspec, mailer, minitest, cucumber-steps, actionmailer, ruby, pony, cucumber
Last push: 2026-03-21T15:44:39+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 73, release rhythm 35, longevity 100
- inputs: {"age_days": 6476, "days_push": 165, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1189, forks 171 (observed 2026-08-28T04:03:55.404395+00:00)

## What it is
A Ruby library providing RSpec/MiniTest matchers and Cucumber/Spinach steps for testing email delivery in applications using ActionMailer or Pony. It simplifies asserting email subjects, recipients, and content within test suites.

## Use cases
- test that a user receives a signup confirmation email
- assert email subject and body content in RSpec specs
- write Cucumber steps for email delivery scenarios
- clear sent emails between test scenarios
- test emails sent with Pony or ActionMailer

## When to choose
- you're testing email in a Ruby on Rails app with RSpec, MiniTest, or Cucumber
- you want readable, high-level matchers for email assertions

## When to avoid
- you're not using Ruby or a supported mailer library
- you need to test email outside of a test framework context

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing
- domain: testing, email, web-development
- platform: ruby
- tags: rspec-matchers, cucumber-steps, minitest, actionmailer, email-testing

## Member repositories
- email-spec/email-spec (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:55.404395+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:23:09.051002+00:00, confidence not recorded.
  - readme: https://github.com/email-spec/email-spec (fetched 2026-08-28T04:03:55.404395+00:00, sha 71f890e33161)
- Data as of 2026-08-30T08:39:29.467469+00:00.
