Documentation

Everything you need to integrate OneShotMail into your projects, pipelines, and workflows.

Quick Start

1. Get your API key

Sign up at app.oneshotemail.com to get your API key.

2. Install the SDK

pip install oneshot-mail

3. Create and receive

from oneshot import OneShotClient

client = OneShotClient(api_key="osm_live_...")
address = client.create(ttl=300, label="my-test")
# Use address.address in your test...
email = client.wait_for_email(address.id, timeout=60)
print(email.subject)