skillfed

pyobjc-framework-MailKit

Wrappers for the framework MailKit on macOS

pyobjc-framework-mailkit v12.2.2 647.5K downloads/30d#5,592 on PyPI803
Permissive license MIT Active released

What it is and what it does

pyobjc-framework-mailkit is a PyObjC wrapper that exposes Apple's MailKit framework to Python developers on macOS. It bridges the gap between Python and Objective-C, allowing you to call MailKit APIs directly from Python code. The package itself provides no documentation beyond pointing you to Apple's MailKit documentation and PyObjC's general translation guides, so you'll need to understand both the underlying framework and how PyObjC maps Objective-C concepts to Python.

The package is actively maintained as part of the larger PyObjC project, with recent releases and current Python version support (3.10 through 3.15). It depends on pyobjc-core and pyobjc-framework-Cocoa, which handle the core bridging infrastructure. Installation is straightforward on macOS, but the package is only useful if you need direct access to MailKit APIs from Python rather than using higher-level mail libraries.

Use it for:

  • Build macOS-native mail client applications or plugins that need direct access to the system's mail framework.
  • Automate mail-related tasks on macOS by scripting against the MailKit framework from Python.
  • Integrate mail functionality into existing PyObjC-based macOS applications.
  • Access MailKit features not exposed by standard Python mail libraries like smtplib or imaplib.

Worth the install?

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

Provides Python bindings to macOS's MailKit framework, allowing you to access mail-related APIs from Python code running on macOS.

Yes, if you are developing on macOS and need direct access to the MailKit framework from Python. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. However, it is macOS-only and requires understanding both the MailKit framework and PyObjC's Objective-C-to-Python translation model. Not useful on other operating systems.

Install

pyobjc-framework-mailkit on PyPI

pip

pip install pyobjc-framework-mailkit

uv

uv add pyobjc-framework-mailkit

poetry

poetry add pyobjc-framework-mailkit

Installing pyobjc-framework-MailKit

Before you install

Low friction installation with active maintenance. Released 3 days ago and last commit on 2026-08-14. Depends on pyobjc-core and pyobjc-framework-Cocoa, both part of the PyObjC ecosystem.

License in practice

MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for most projects.

Quickstart

pip install pyobjc-framework-mailkit

import MailKit
# Access MailKit framework classes and methods via PyObjC

macOS only; requires Python 3.10 or later and a macOS system with the MailKit framework available.

Verify before relying

  • Whether MailKit framework APIs are fully wrapped or if some functionality remains inaccessible from Python.
  • Performance characteristics when bridging between Python and Objective-C for mail operations.
  • Real-world usage patterns and whether the wrapper is actively used in production applications.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-Cocoa
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 647,476/month — #5,592 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_mailkit-12.2.2-py2.py3-none-any.whl

Keywords: PyObjC, MailKit

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

macos mail framework pythonpyobjc mailkit bindingspython mailkit wrappermacos email api pythonobjective-c mail bridge pythonpyobjc framework mailkit
macos-onlypyobjc-wrappermail-framework

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SafetyKit

Provides Python bindings to macOS's SafetyKit…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemExtensions

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreAudioKit

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Photos

Provides Python bindings to macOS's Photos…

permissive · top 15,000 on PyPI

pyobjc-framework-MetricKit

Provides Python bindings to macOS's MetricKit…

permissive · top 15,000 on PyPI

pyobjc-framework-DictionaryServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-PassKit

Provides Python bindings to Apple's PassKit…

permissive · top 15,000 on PyPI