Skip to main content

emailagent-sdk (Python)

Official Python SDK for EmailAgent.

Install

pip install emailagent-sdk==0.1.0

Usage

from emailagent_sdk import EmailAgentClient

client = EmailAgentClient(
    api_key="<api_key>",
    base_url="https://api.emailagent.dev",
)

print(client.list_inboxes())

emails = client.list_emails(inbox_id="<inbox_uuid>")
print(emails)

client.update_email_read(
    email_id="<email_uuid>",
    is_read=True,
    idempotency_key="mark-read-001",
)

Idempotency

client.create_inbox(
    local_part="agent-1",
    idempotency_key="create-inbox-agent-1",
)

Metadata

Release files for emailagent-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for emailagent-sdk 0.1.0
File Size Uploaded
emailagent_sdk-0.1.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for emailagent-sdk 0.1.0
File Interpreter ABI Platform
emailagent_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / emailagent_sdk-0.1.0.tar.gz

Download URL emailagent_sdk-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
47310443ece00ac4d27fb593cebbada69e0609c9bf7bbca9cb0346c2300404c4
BLAKE2b-256 checksum
How to use checksums
c370dcec33ade127a3d368e219800e9eadd4118bf19d17f48ea03fe86ecdb101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / emailagent_sdk-0.1.0-py3-none-any.whl

Download URL emailagent_sdk-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e9aa9529714e1f22ca5b10e120c56e6542245f60095e99d4915383b619991b1
BLAKE2b-256 checksum
How to use checksums
e3bf24a39ba1b45356e90f5d587030be1f4899bbdfc9507eb61e2942698e1381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page