Agents

Give your agents email.

Let autonomous agents send and receive email through Xurel.

01

Create a scoped API key

Issue a key with the minimum send/read permissions your agent needs.

02

Expose send as a tool

Wrap xurel.emails.send as a tool/function your agent runtime can call.


                {
  "name": "send_email",
  "parameters": { "to": "string", "subject": "string", "html": "string" }
}
              
03

Handle inbound webhooks

If the agent should read replies, route inbound mail to your agent worker.


                // email.received → agent worker
app.post('/webhooks/xurel', handleInbound);
              

Ship your first email today.

Create an account, verify your domain, and send in minutes.