pyobjc-framework-MailKit
Wrappers for the framework MailKit on macOS
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-mailkituv
uv add pyobjc-framework-mailkitpoetry
poetry add pyobjc-framework-mailkitInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-SafetyKitProvides Python bindings to macOS's SafetyKit…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-SystemExtensionsProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreAudioKitProvides Python bindings for macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-PhotosProvides Python bindings to macOS's Photos…
permissive · top 15,000 on PyPI
pyobjc-framework-MetricKitProvides Python bindings to macOS's MetricKit…
permissive · top 15,000 on PyPI
pyobjc-framework-DictionaryServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-PassKitProvides Python bindings to Apple's PassKit…
permissive · top 15,000 on PyPI