Skip to main content

Python client for the ZeptoMail API

Project description

📧 ZeptoMail Python API

PyPI version Python Versions License Downloads

A Python client for interacting with the ZeptoMail API.

⚠️ DISCLAIMER: This is an unofficial SDK. Namilink Kft is not affiliated with ZeptoMail or Zoho Corporation. This package is maintained independently and is not endorsed by ZeptoMail.

⚡ Installation

pip install zeptomail-python-api

Or with uv:

uv pip install zeptomail-python-api

🚀 Usage

from zeptomail import ZeptoMail

# Initialize the client
client = ZeptoMail("your-api-key-here")

# Create a recipient
recipient = client.add_recipient("recipient@example.com", "Recipient Name")
# This creates: {"email": "recipient@example.com", "name": "Recipient Name"}

# Send a simple email
response = client.send_email(
    from_address="sender@example.com",
    from_name="Sender Name",
    to=[recipient],
    subject="Test Email from ZeptoMail Python API",
    html_body="<h1>Hello World!</h1><p>This is a test email sent using the ZeptoMail Python API.</p>",
    text_body="Hello World! This is a test email sent using the ZeptoMail Python API."
)

print(f"Response: {response}")

✨ Features

  • 📨 Send single emails
  • 📊 Send batch emails with personalization
  • 📎 Add attachments and inline images
  • ⚙️ Customize MIME headers
  • 🔍 Detailed error handling with solutions

🚧 Implementation Status

This library currently implements:

  • ✅ Email Sending API
  • ✅ Batch Email Sending API

Not yet implemented:

  • ❌ Templates API
  • ❌ Template Management API

Contributions to implement these additional APIs are welcome!

📝 License

MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

🔒 Security

For security issues, please email security@zeptomail.eu instead of using the issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeptomail_python_api-0.1.2.tar.gz (838.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeptomail_python_api-0.1.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file zeptomail_python_api-0.1.2.tar.gz.

File metadata

  • Download URL: zeptomail_python_api-0.1.2.tar.gz
  • Upload date:
  • Size: 838.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.15

File hashes

Hashes for zeptomail_python_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4d3c45fba94e417243e1c5abe119e5068885a9e8c131554a28c4e504c7461da3
MD5 f5ce8754657879ccdab4724cdc747ca0
BLAKE2b-256 f54712fbd6dcf609469d4fe08950780b3d953eba9f77b872d48bfba84c137bfa

See more details on using hashes here.

File details

Details for the file zeptomail_python_api-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for zeptomail_python_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a7072065cd018793beadeed25f1386332f54324e9e72f0904d0a6d5c75db584
MD5 f91169540444dd66875187892b3a828c
BLAKE2b-256 cba291a7c05035b62efb6686a5b849f10ca85d74bfcbdb12b8b118b35ec9292f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page