Metadata-Version: 2.4
Name: openmail-sdk
Version: 1.0.1
Summary: Developer friendly Python SDK for OpenMail
Author: OpenMail
License: MIT
Project-URL: Homepage, https://openmail.openproject.co.zw
Project-URL: Documentation, https://openmail.openproject.co.zw/docs
Project-URL: Repository, https://openmail.openproject.co.zw
Keywords: openmail,email,sdk,api
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications :: Email
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0

# OpenMail Python SDK

A lightweight, developer-friendly SDK for OpenMail.

## Install

```bash
pip install openmail-sdk
```

## Quick Start

```python
from openmail import OpenMailClient

client = OpenMailClient(
    api_key="your_api_key",
    token_url="https://openmail.openproject.co.zw/r/your_token"
)

response = client.send_email(
    to_email="user@example.com",
    subject="Hello from OpenMail",
    type="html",
    body="<h1>Hello</h1><p>Welcome.</p>"
)

print(response)
```

## Core Inputs

- `api_key`
- `token_url`

These are the only required values to initialize the SDK client.
