An agent that reads email needs tests that do not depend on a real mailbox. With Cooper Email, a CI job creates a one-hour inbox with ttl_hours, injects a message with POST /api/v1/inboxes/:id/inbound, waits with /wait or /wait-for-code, asserts on extracted_text and the message.received event, and deletes the inbox. client_id makes retried setup steps safe.
Test an AI agent's email handling in CI without sending real mail: inject inbound, wait, assert, clean up
calendar_today
November 27, 2026
domain
cooperemail-com