skillfed

prefect-email

Prefect integrations for interacting with email.

prefect-email v0.4.2 131.7K downloads/30d#11,582 on PyPI23,623
Permissive license Apache License 2.0 Active released

What it is and what it does

prefect-email is a Prefect integration that adds email capabilities to workflow orchestration, allowing pipelines to send notifications and alerts via email. It bridges Prefect's task and flow execution with email delivery, making it straightforward to notify users or systems when workflows complete, fail, or reach specific milestones.

The package depends solely on Prefect and supports Python 3.9 through 3.12. It is actively maintained by the Prefect team, with regular updates and no known security vulnerabilities. Installation is lightweight and friction-free, making it a low-risk addition to existing Prefect deployments.

Use it for:

  • Send completion notifications when long-running data pipelines finish processing.
  • Alert on-call teams when workflow failures occur in production systems.
  • Notify stakeholders of report generation or data export completion.
  • Trigger email reminders for scheduled maintenance or data refresh tasks.
  • Log workflow events and status changes via email for audit trails.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Prefect workflow integration for sending emails, enabling automated email notifications and communications within Prefect orchestration pipelines.

Yes. If you use Prefect for workflow orchestration and need email notifications, this is the official integration to use. It has low install friction, active maintenance, permissive licensing, no security vulnerabilities, and solves a common operational need. Install it when you require email alerts in your Prefect pipelines.

Install

prefect-email on PyPI

pip

pip install prefect-email

uv

uv add prefect-email

poetry

poetry add prefect-email

Installing prefect-email

Before you install

Low install friction with a single runtime dependency on prefect. The package is actively maintained with recent commits and has been in development since early 2022, indicating stable integration support.

License in practice

Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install prefect-email

from prefect_email import email_send_message

await email_send_message(
    subject="Alert",
    msg="Pipeline completed",
    email_to=["user@example.com"]
)

Requires Prefect to be installed and configured; email credentials must be set up via Prefect blocks or environment variables.

Verify before relying

  • Supported email providers and authentication methods (SMTP, OAuth, etc.) beyond what the fact sheet indicates.
  • Whether the package includes pre-built notification blocks or requires manual configuration.
  • Email templating or formatting capabilities available in the integration.

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — prefect
Maintenance actively maintained — 492 days since the last release
Last repo commit
First released
Downloads 131,652/month — #11,582 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: prefect_email-0.4.2-py3-none-any.whl

Keywords: prefect

Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries

Tags

prefect email integrationworkflow email notificationsprefect email tasksautomated email in workflowsprefect smtp integrationemail alerts for pipelinesprefect notification blocks
workflow-orchestrationnotificationsprefect-integration

More Libraries packages