{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Sends emails and attachments asynchronously from FastAPI applications using SMTP, with support for HTML templates, bulk messaging, and background task integration.","skillfed_tags":["async-email","smtp-client"],"use_cases":["Send transactional emails (password resets, confirmations) from FastAPI endpoints without blocking the response.","Queue bulk email campaigns using FastAPI background tasks to distribute sends over time.","Render personalized HTML emails using Jinja2 templates with dynamic data from your application.","Validate recipient email addresses before sending using the built-in email utility classes.","Attach files from server storage or form uploads to outgoing messages."],"what_it_does":"fastapi-mail is a lightweight async email library designed for FastAPI applications. It wraps aiosmtplib to send emails and attachments over SMTP, supporting both individual and bulk sends. The package integrates with FastAPI's background task system, allowing you to queue email sends without blocking request handling. It includes utilities for validating email addresses and supports Jinja2 HTML templates for message bodies, plus a NameEmail format that lets recipients be specified as \"Name <email@domain.com>\".\n\nThe library is built on standard async patterns (aiosmtplib, httpx, pydantic) and requires Python 3.10+. Configuration is handled via a ConnectionConfig object where you supply SMTP credentials, server details, and TLS settings. You create a FastMail instance, build a MessageSchema with subject, recipients, and body, then call send_message() to dispatch it asynchronously.","worth_installing":"Yes. fastapi-mail is actively maintained, has low install friction, carries no known vulnerabilities, and is the standard choice for async email in FastAPI projects. The MIT license imposes no restrictions. Install it if you need to send email from a FastAPI application."},"id":"fastapi-mail","links":{"html":"https://skillfed.io/packages/fastapi-mail","md":"https://skillfed.io/packages/fastapi-mail.md","pypi":"https://pypi.org/project/fastapi-mail/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-18","license_spdx":null,"license_treatment":"permissive","name":"fastapi-mail","python_support":"supports_current","summary":"Simple lightweight mail library for FastApi"},"popularity":{"monthly_downloads":1426701,"position":3914,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.6.5"}
