Metadata-Version: 2.5
Name: pushikoo-pusher-email
Version: v0.1.0
Summary: SMTP email pusher adapter for Pushikoo.
Project-URL: Homepage, https://github.com/Pushikoo/pushikoo-pusher-email
Author: Pushikoo
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: loguru
Requires-Dist: pushikoo-interface>=1.4.0
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# pushikoo-pusher-email

SMTP email pusher adapter for Pushikoo.

## Features

- Multiple SMTP accounts
- SSL, STARTTLS, or plain SMTP connections
- To, Cc, and Bcc recipients
- Plain-text and HTML multipart messages
- Subject derived from the first `StructTitle`, with an optional fixed override
- Optional CID embedding for remote and local images
- Configurable SMTP and image download timeout

## Configuration

Adapter-level configuration stores reusable SMTP accounts. Instance-level configuration selects an account and defines recipients and subject behavior.

```json
{
  "accounts": {
    "default": {
      "host": "smtp.example.com",
      "port": 465,
      "username": "sender@example.com",
      "password": "application-password",
      "from_address": "sender@example.com",
      "from_name": "Pushikoo",
      "security": "ssl",
      "timeout_seconds": 30
    }
  }
}
```

```json
{
  "account": "default",
  "to": ["recipient@example.com"],
  "cc": [],
  "bcc": [],
  "subject": null,
  "embed_images": true
}
```

Do not commit real SMTP credentials. Configure them through Pushikoo's adapter configuration UI or API.
