Skip to main content

Official Python SDK for EmailAgent

Project description

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",
)

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

emailagent_sdk-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

emailagent_sdk-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file emailagent_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: emailagent_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for emailagent_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 47310443ece00ac4d27fb593cebbada69e0609c9bf7bbca9cb0346c2300404c4
MD5 809cae0024ae99fa17eb880e1fc18f58
BLAKE2b-256 c370dcec33ade127a3d368e219800e9eadd4118bf19d17f48ea03fe86ecdb101

See more details on using hashes here.

File details

Details for the file emailagent_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: emailagent_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for emailagent_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9aa9529714e1f22ca5b10e120c56e6542245f60095e99d4915383b619991b1
MD5 be242d35d3c95373941f1d94da5042e1
BLAKE2b-256 e3bf24a39ba1b45356e90f5d587030be1f4899bbdfc9507eb61e2942698e1381

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