Inbox
Read and manage inbound emails received via IMAP.
Requires an IMAP account configured in the dashboard. Messages are polled automatically and made available via API. Supports read/flag toggling, folder management, and attachment downloads.
Endpoints
| Method | Path | Permission |
|---|---|---|
GET | email.inbox_read | |
GET | email.inbox_read | |
PATCH | email.inbox_read | |
DELETE | email.inbox_reply | |
PATCH | email.inbox_read | |
PATCH | email.inbox_read | |
GET | email.inbox_read |
List Inbox Messages
GET /api/v1/inbox
Request
Response
{
"success": true,
"data": [
{
"id": "inbox-uuid-1",
"from": "client@example.com",
"subject": "Re: Invoice #2024-001",
"snippet": "Thank you for sending the invoice. I have a question about...",
"isRead": false,
"isFlagged": false,
"folder": "INBOX",
"hasAttachments": true,
"received_at": "2026-03-18T09:45:00Z"
},
{
"id": "inbox-uuid-2",
"from": "support@vendor.com",
"subject": "Your subscription has been renewed",
"snippet": "Your annual subscription has been successfully renewed...",
"isRead": false,
"isFlagged": false,
"folder": "INBOX",
"hasAttachments": false,
"received_at": "2026-03-18T08:30:00Z"
}
],
"meta": { "page": 1, "per_page": 20, "total": 87, "total_pages": 5 }
}json
Mark as Read
PATCH /api/v1/inbox/:id/read
Request
Response
{
"success": true,
"data": {
"id": "inbox-uuid-1",
"isRead": true
}
}json