# lukencode/FluentEmail

All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.

Repository: https://github.com/lukencode/FluentEmail
Canonical: https://ross.abutalabs.com/products/fluentemail
Homepage: https://lukelowrey.com/dotnet-email-guide-2021/
Language: C#
License: MIT
License Family: permissive
Topics: c-sharp, email, dotnet, dotnetcore, sendgrid, mailgun, smtp
Last push: 2024-03-30T12:59:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5990, "days_push": 886, "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 3215, forks 447 (observed 2026-08-28T04:07:49.574733+00:00)

## What it is
FluentEmail is an all-in-one email sending library for .NET and .NET Core with a fluent API. It supports multiple senders (SMTP, SendGrid, Mailgun, MailKit, Mailtrap) and Razor or Liquid template rendering, with built-in dependency injection support.

## Use cases
- send email from a .NET application
- send transactional emails via SendGrid or Mailgun
- render email bodies from Razor templates
- send emails over SMTP in .NET Core
- inject an email sender service into ASP.NET Core apps
- switch email providers without changing application code

## When to choose
- you need a simple, fluent API for sending email in .NET
- you want pluggable providers like SendGrid, Mailgun, or SMTP
- you want templated emails using Razor or Liquid
- you want clean dependency injection and testability

## When to avoid
- you need to receive or parse inbound email
- you need bulk marketing campaign features
- your project is not on the .NET platform

## Facets
- artifact type: library
- maturity: stable
- function: email, templating, http-client
- domain: email, backend, developer-tools
- platform: dotnet, cross-platform
- tags: fluent-api, razor-templates, liquid-templates, smtp, sendgrid, mailgun, dependency-injection

## Member repositories
- lukencode/FluentEmail (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:49.574733+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-29T18:44:56.559373+00:00, confidence not recorded.
  - readme: https://github.com/lukencode/FluentEmail (fetched 2026-08-28T04:07:49.574733+00:00, sha 5a1ce9844a5b)
  - homepage: https://lukelowrey.com/dotnet-email-guide-2021/ (fetched 2026-08-29T09:38:02.119814+00:00, sha 3236ca949740)
  - site_page: https://lukelowrey.com/about (fetched 2026-08-29T09:38:02.129136+00:00, sha 13326d0f261e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
