apache-airflow-providers-smtp
Provider package apache-airflow-providers-smtp for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that integrates SMTP email functionality into Airflow workflows. It allows DAG tasks to send email notifications and messages through any SMTP server, enabling alerting, reporting, and communication from automated data pipelines.
The package is built on aiosmtplib for async SMTP operations and integrates with Airflow's operator and hook architecture. It requires Apache Airflow >=2.11.0 and supports Python 3.10 through 3.14. The package is actively maintained by the Apache Airflow project, with recent releases and no known security vulnerabilities.
Use it for:
- Send task failure notifications to ops teams when Airflow DAG tasks fail or encounter errors.
- Generate and email daily or weekly data pipeline reports to stakeholders automatically.
- Alert on-call engineers when data quality checks fail or SLAs are breached in production workflows.
- Notify downstream teams when long-running ETL jobs complete successfully.
- Integrate with Airflow's built-in alerting to route notifications through your organization's email infrastructure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds SMTP email sending capabilities to Apache Airflow workflows, enabling tasks to send messages through Simple Mail Transfer Protocol.
Yes. This is an official Apache Airflow provider with active maintenance, no security vulnerabilities, and low install friction. Install it if you need to send email from Airflow tasks and have an SMTP server available. The permissive Apache 2.0 license poses no restrictions.
Install
apache-airflow-providers-smtp on PyPI
pip
pip install apache-airflow-providers-smtpuv
uv add apache-airflow-providers-smtppoetry
poetry add apache-airflow-providers-smtpInstalling apache-airflow-providers-smtp
Before you install
Low install friction; pure Python wheel with three runtime dependencies. Actively maintained—released 6 days ago with recent commits. Requires Apache Airflow >=2.11.0 and aiosmtplib >=0.1.6.
License in practice
Apache License 2.0 (permissive). Allows commercial and private use with attribution; safe for most deployment contexts.
Quickstart
pip install apache-airflow-providers-smtp
from airflow.providers.smtp.operators.smtp import SendEmailOperator
email_task = SendEmailOperator(
task_id='send_email',
to='recipient@example.com',
subject='Airflow Notification',
html_content='Task completed'
)
Requires Apache Airflow >=2.11.0 and Python >=3.10 to be installed first.
Verify before relying
- Whether aiosmtplib >=0.1.6 supports all SMTP authentication methods your infrastructure requires.
- Whether the provider includes connection templates or hooks for common SMTP services (Gmail, SendGrid, etc.).
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — apache-airflow, apache-airflow-providers-common-compat, aiosmtplib |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,752,016/month — #1,266 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_smtp-3.0.3-py3-none-any.whl
Keywords: airflow-provider, smtp, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-imapIntegrates IMAP email protocol support into…
permissive · top 5,000 on PyPI
apache-airflow-providers-ftpProvides FTP integration for Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-telegramIntegrates Apache Airflow with Telegram to send…
permissive · top 15,000 on PyPI
apache-airflow-providers-sendgridIntegrates SendGrid email delivery into Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-sshProvides SSH integration for Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-asanaIntegrates Apache Airflow with Asana, enabling…
permissive · top 15,000 on PyPI
apache-airflow-providers-discordIntegrates Discord messaging into Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-openfaasIntegrates OpenFaaS serverless functions into…
permissive · top 15,000 on PyPI
apache-airflow-providers-jenkinsIntegrates Jenkins CI/CD systems into Apache…
permissive · top 15,000 on PyPI
aiosmtpdaiosmtpd is an asyncio-based SMTP server that…
permissive · top 5,000 on PyPI