Set up inbound email
Enable inbound email
Call the enable endpoint to activate the feature for your account. Cleo Pay generates a dedicated email address for your business.The response confirms that inbound email is now active.
Find your dedicated email address
Retrieve your inbound email settings to get the dedicated address assigned to your business.The response includes an
inboundEmailAddress field — for example, your-business-name@inbox.cleo-pay.com. Save this address; you will need it in the next step.Forward vendor invoices to your inbox
Share your dedicated address with vendors so they can email invoices directly to it. Alternatively, set up a forwarding rule in your email client to automatically forward any invoice emails to the Cleo Pay address.Cleo Pay processes emails with PDF or image attachments. When an invoice arrives, the system extracts fields such as vendor name, invoice number, amount, and due date, then creates a payable draft.
Review parsed emails and drafts
Once emails start arriving, you can list them to see what has been received and processed.Each item in the response represents one received email and includes the parsed status and a reference to the payable draft that was created. To view full details for a specific email — including parsing results and any errors — fetch it by ID:Open the linked draft in the Cleo Pay dashboard to verify the parsed fields, assign it to a vendor connection, and submit it for approval.
Disable inbound email
If you no longer want to receive emails at your dedicated address, disable the feature:Disabling inbound email does not delete existing parsed emails or the drafts already created from them. Your historical records remain accessible.
Supported attachment types
Cleo Pay parses PDF and common image formats (JPEG, PNG). Emails without a supported attachment are received but will not produce a payable draft. Check the email detail response for aparseStatus field to diagnose any issues.
API reference
| Method | Endpoint | Description |
|---|---|---|
POST | /api/inbound-email/enable | Enable inbound email |
POST | /api/inbound-email/disable | Disable inbound email |
GET | /api/inbound-email/settings | Get settings and dedicated address |
GET | /api/inbound-email/emails | List received emails |
GET | /api/inbound-email/emails/{id} | Get email details |