mcs-driver-mailsend
Mail-sending driver for the Model Context Standard (MCS).
Provides tools for sending plain-text and HTML e-mail. The actual I/O is delegated to a pluggable adapter, making the same driver work with SMTP, Gmail API, Microsoft Graph, or any future backend.
Installation
pip install mcs-driver-mailsend
# With SMTP adapter
pip install mcs-driver-mailsend[smtp]
Quick start
from mcs.driver.mailsend import MailsendToolDriver
# SMTP (default adapter)
td = MailsendToolDriver(
adapter="smtp",
host="smtp.example.com",
user="alice@example.com",
password="...",
sender_name="Alice Smith", # optional display name
)
tools = td.list_tools() # 2 tools
result = td.execute_tool("send_message", {
"to": "bob@example.com",
"subject": "Hello",
"body": "Hi Bob!",
})
Tools
| Tool | Description |
|---|---|
send_message |
Send a plain-text e-mail |
send_html_message |
Send an HTML e-mail with optional text fallback |
Adapter protocol
The driver defines a MailsendPort typing protocol. Any object that implements
send_message and send_html_message satisfies the contract -- no inheritance
required.
Links
- Homepage: https://www.modelcontextstandard.io
- Source: https://github.com/modelcontextstandard/python-sdk
License
Apache-2.0
Metadata
Release files for mcs-driver-mailsend 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcs_driver_mailsend-0.2.3.tar.gz | 14.5 kB | Without provenance | Details for mcs_driver_mailsend-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcs_driver_mailsend-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for mcs_driver_mailsend-0.2.3-py3-none-any.whl |
Total release size: 28.0 kB
Release files / mcs_driver_mailsend-0.2.3.tar.gz
| Download URL | mcs_driver_mailsend-0.2.3.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61d712448d501888414c0567989969a34c2076e2562e4309c2c19390193321c7
|
|
BLAKE2b-256 checksum How to use checksums |
993611ba9ead06619a879578ef7c6065a8eba97a6dde0f25a52f58842e9867a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / mcs_driver_mailsend-0.2.3-py3-none-any.whl
| Download URL | mcs_driver_mailsend-0.2.3-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f9789a5faebf634a2b7a02884375d618782941efba3a786b6b81dee503027e2
|
|
BLAKE2b-256 checksum How to use checksums |
7c7971f9518142075ecfa85014659bb7b83bf8fe4ac5a564e6ac187de0343254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for mcs-driver-mailsend 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.