Skip to main content

Python SDK for MailAgent agent verify API

Project description

mailagent-agent (Python)

Minimal Python SDK for MailAgent agent verify flows — parity with @mailagent/agent core methods.

pip install mailagent-agent
from mailagent import MailAgent

client = MailAgent("https://api.webmailagent.com", "ma_…")
result = client.verify_signup(service="github", timeout_seconds=90, delete_after=True)
print(result.get("agent", {}).get("primaryAction"))

Methods

  • verify_signup(**options)POST /v1/agent/verify
  • get_profile()GET /v1/me
  • create_inbox(**options) / delete_inbox(id)
  • list_messages(inbox_id, subject_contains=…)
  • simulate_message(inbox_id, scenario="otp", …)
  • diagnose_inbox(inbox_id, …)
  • list_runs(run_id=…, label=…)

Source: packages/mailagent-agent-py in MailAgent.

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

mailagent_agent-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

mailagent_agent-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mailagent_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5bc46c4c8c3648bad37dd73df87e8d623af4a986d94c385db160db4d7de52c31
MD5 dca1f81a8e11ef1abe4498ff35c1d72f
BLAKE2b-256 997e7e7d57f55db0727c72be35bd2c8b6aceb47f6fe137e375b2633c504f08bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mailagent_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cefc161ec5445319aa5b96ac8a8dc629dd8e691a486827b95e3c5f7c7667c30e
MD5 b1207bb029015d691e0c00f125471576
BLAKE2b-256 03a10f44a29678d3ad52f683cf1835251cb306fb96dabf11ea7b372d78754967

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