Lumbox Docs

Sending Email

Send, reply, and forward emails from your agent.

Sending Email

Send

POST /v1/inboxes/:id/send
FieldTypeRequiredDescription
tostring or string[]YesRecipient(s)
subjectstringYesEmail subject
textstringNoPlain text body
htmlstringNoHTML body
ccstring or string[]NoCC recipients
curl -X POST https://api.lumbox.co/v1/inboxes/inb_abc123/send \
  -H "X-API-Key: ak_..." \
  -H "Content-Type: application/json" \
  -d '{
    "to": "user@example.com",
    "subject": "Hello from my agent",
    "text": "This email was sent by an AI agent."
  }'

Reply

POST /v1/inboxes/:id/reply

Replies to an existing email with proper threading headers (In-Reply-To, References).

FieldTypeRequiredDescription
email_idstringYesEmail to reply to
textstringNoReply text body
htmlstringNoReply HTML body
reply_allbooleanNoReply to all recipients

Forward

POST /v1/inboxes/:id/forward

Forwards an email to another address.

FieldTypeRequiredDescription
email_idstringYesEmail to forward
tostring or string[]YesForward to
commentstringNoComment above forwarded message