Current collected state Current
Observed since 20 Oct, 21:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Official Python SDK for the AgentEmail API — create and manage email inboxes programmatically.
Official Python SDK for the AgentEmail API.
Create and manage email inboxes programmatically for your AI agents and applications.
pip install agentemail
from agentemail import AgentemailApi
client = AgentemailApi(api_key="aem_your_api_key_here")
# List your inboxes
inboxes = client.sdk.sdk_list_inboxes()
print(inboxes.data)
# Create a new inbox
inbox = client.sdk.sdk_create_inbox(name="hello")
print(inbox.name) # "hello"
# Full address: hello@agentemail.co
# List email threads
threads = client.sdk.sdk_list_threads(inbox.id)
for thread in threads.data:
print(thread.subject, thread.message_count)
# Get a full thread with all messages
thread = client.sdk.sdk_get_thread(inbox.id, threads.data[0].id)
for message in (thread.messages or []):
print(message.from_address, message.body_text)
# Check usage vs plan limits
usage = client.sdk.sdk_get_usage()
print(usage)
import asyncio
from agentemail import AsyncAgentemailApi
async def main():
client = AsyncAgentemailApi(api_key="aem_your_api_key_here")
inboxes = await client.sdk.sdk_list_inboxes()
print(inboxes.data)
asyncio.run(main())
Generate an API key from your AgentEmail dashboard.
import os
from agentemail import AgentemailApi
client = AgentemailApi(api_key=os.environ["AGENTEMAIL_API_KEY"])
| Method | Description |
|---|---|
client.sdk.sdk_list_inboxes(limit=None, offset=None) | List all your inboxes (paginated) |
client.sdk.sdk_create_inbox(name=...) | Create a new inbox |
| Method | Description |
|---|---|
client.sdk.sdk_list_threads(inbox_id, limit=None, offset=None, unread_only=None) | List email threads for an inbox |
client.sdk.sdk_get_thread(inbox_id, thread_id, mark_read=None) | Get a thread with all messages |
| Method | Description |
|---|---|
client.sdk.sdk_get_usage() | Get current usage vs plan limits |
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.3 | 25 May 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ff334fa87a42970d874d6f30e027f5affd36cd89e8cb0798b282c4b2f8c1b7be