Skip to main content

teamver-mail-agent

Async Python client for the Teamver Mail BE Agent API (/v1/agent/*).
Built for agents, Hermes, and other AI agent runtimes.

Install

pip install teamver-mail-agent

Depends on teamver-sdk-core. Python ≥ 3.11.

For the unified agent facade (channel + DM + Drive + mail), install teamver-agent-sdk instead.

Quick start

import asyncio
from teamver_mail_agent import TeamverMailAgentClient

async def main():
    async with TeamverMailAgentClient.from_env() as client:
        events = await client.list_events(limit=10)
        for ev in events.events:
            if ev.message_id:
                await client.ack_event(ev.event_id)
                msg = await client.get_message(ev.message_id)
                print(msg.subject, msg.body_text)

asyncio.run(main())

Environment

Field Env Description Default
api_base_url TEAMVER_MAIL_API_BASE or TEAMVER_MAIL_API_BASE_URL Mail host, no /v1 https://mail-api.teamver.com
agent_token TEAMVER_MAIL_AGENT_TOKEN Bearer tv_agent_… (required)
internal_api_key TEAMVER_INTERNAL_API_KEY Optional — M2M provisioning only —

Scopes

agent:read, agent:events, agent:reply — issued with the mail agent token.

list/stream events → ack → get_message → processing_start
→ handle → reply (Idempotency-Key) → processing_complete

Documentation

Public docs: github.com/NeuralStudioKr/teamver-sdk-docs/tree/main/mail-agent

License

MIT — see LICENSE.

Metadata

Release files for teamver-mail-agent 0.3.1

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

Source distribution (sdist)

Source distribution for teamver-mail-agent 0.3.1
File Size Uploaded Provenance Actions
teamver_mail_agent-0.3.1.tar.gz 14.8 kB Without provenance Details for teamver_mail_agent-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teamver-mail-agent 0.3.1
File Interpreter ABI Platform Actions
teamver_mail_agent-0.3.1-py3-none-any.whl Python 3 none any Details for teamver_mail_agent-0.3.1-py3-none-any.whl

Total release size: 30.8 kB

Release files / teamver_mail_agent-0.3.1.tar.gz

Download URL teamver_mail_agent-0.3.1.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c1632dcb6fda0d6b92c022abf6487564e691c6c947f969f408e470eaf32a8e31
BLAKE2b-256 checksum
How to use checksums
8327559ef12a611ba1d3e687d74878ca35bfe36b3d760349f359d99e9f02ad36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release files / teamver_mail_agent-0.3.1-py3-none-any.whl

Download URL teamver_mail_agent-0.3.1-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
768d43294f4a219db49885d5f287ba75bcce204b9d580dd9957e58744b6ce3fc
BLAKE2b-256 checksum
How to use checksums
3b1d2bbce525d4edba89e9756c31bd912a48777adca53be6e63cdd4fb6591306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Security for teamver-mail-agent 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files No provenance

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