Emails API¶
List emails¶
| Parameter | Type | Description |
|---|---|---|
tag | string | Filter by tag (Hello, Partners, Info, Support, Neo) |
status | string | Filter by status |
limit | number | Results per page (default: 50) |
offset | number | Pagination offset |
Create email (webhook)¶
Used by n8n to push new emails. Auto-derives tag, creates task, and saves auto-reply.
Get email with replies¶
Returns the email with associated auto-replies.
AI email analysis¶
Returns AI-generated analysis of the email content including urgency, action items, and insights.
Auto-replies¶
| Method | Endpoint | Description |
|---|---|---|
GET | /api/auto-replies | List all auto-replies |
POST | /api/auto-replies | Save AI-generated reply |
Send email¶
Send an email via SMTP from a selected inbox.
IMAP sync¶
| Method | Endpoint | Description |
|---|---|---|
POST | /api/sync | Trigger IMAP sync across all inboxes |
GET | /api/sync/status | Get last sync timestamp |