Getting started
Quickstart
Provision an inbox for your agent and handle its first message in four steps.
Step 1
Install the SDK
npm install pxomail # or: pip install pxomailStep 2
Create an inbox
const inbox = await pxo.inboxes.create({ username: "support", outbound: "approval_required" });Step 3
Receive messages
inbox.on("message.received", (message) => handle(message));Step 4
Reply in thread
await message.reply({ text: "Thank you — we are looking into it." });