pxomail.

Getting started

Quickstart

Provision an inbox for your agent and handle its first message in four steps.

  1. Step 1

    Install the SDK

    npm install pxomail        # or: pip install pxomail
  2. Step 2

    Create an inbox

    const inbox = await pxo.inboxes.create({ username: "support", outbound: "approval_required" });
  3. Step 3

    Receive messages

    inbox.on("message.received", (message) => handle(message));
  4. Step 4

    Reply in thread

    await message.reply({ text: "Thank you — we are looking into it." });