# kootenpv/yagmail

Send email in Python conveniently for gmail using yagmail

Repository: https://github.com/kootenpv/yagmail
Canonical: https://ross.abutalabs.com/products/yagmail
Language: Python
License: MIT
License Family: permissive
Topics: email, mime-types, smtp, yagmail, python, magic, hacktoberfest, hacktoberfest2021
Last push: 2026-05-26T10:43:15+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 35, longevity 100
- inputs: {"age_days": 4156, "days_push": 99, "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 2734, forks 265 (observed 2026-08-28T04:07:16.213946+00:00)

## What it is
yagmail is a Python library that makes sending emails via Gmail/SMTP as simple as a single client call, with 'magical' handling of text, HTML, images, and attachments. It supports OAuth2, DKIM signing, and an asyncio-based asynchronous client.

## Use cases
- send email from python script
- send gmail with attachments in python
- send html email with images via smtp
- send emails asynchronously with asyncio
- send email notifications from a job
- attach files to email in python
- send email with dkim signature

## When to choose
- you want the simplest possible API for sending email from Python
- you primarily use Gmail and want OAuth2 or app-password support
- you need easy inline images and attachment handling without MIME boilerplate

## When to avoid
- you need to receive or parse emails rather than send them
- you need full control over complex MIME structures or bulk marketing email features
- you need a language other than Python

## Facets
- artifact type: library
- maturity: active
- function: email
- domain: email, developer-tools
- platform: python, cross-platform
- tags: smtp, gmail, attachments, asyncio, mime, automation

## Member repositories
- kootenpv/yagmail (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.213946+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-30T02:14:28.405969+00:00, confidence not recorded.
  - readme: https://github.com/kootenpv/yagmail (fetched 2026-08-28T04:07:16.213946+00:00, sha 901b560beafa)
  - registry_pypi: https://pypi.org/pypi/yagmail/json (fetched 2026-08-29T09:57:32.024716+00:00, sha d8a3ff993507)
- Data as of 2026-08-30T08:39:29.467469+00:00.
