litestar-email
Installation
SKILL.md
litestar-email
litestar-email provides a pluggable email-sending abstraction for Litestar. One config + plugin, swap backends without touching call sites.
Backends:
SMTPConfig— generic SMTP viaaiosmtplibResendConfig— Resend HTTP APISendGridConfig— SendGrid HTTP APIMailgunConfig— Mailgun HTTP APISESConfig— Amazon SES API v2backend="memory"/InMemoryBackend— for tests; captures messages inInMemoryBackend.outboxbackend="console"— for local development; prints messages
Code Style Rules
- PEP 604 unions:
T | None, neverOptional[T] - Consumer Litestar app modules MAY use
from __future__ import annotations - Async all I/O —
EmailService.send_messageisasync