Commit Graph

12 Commits

Author SHA1 Message Date
Johan Jongsma 79cfb0caa6 Update service file, remove tracked binary
- Use EnvironmentFile for credentials (more secure)
- Simplified ExecStart path
- Added Wants dependency for upstream services
- Removed mail-bridge binary from tracking (now in .gitignore)
2026-02-02 22:23:43 +00:00
Johan Jongsma 05dae4426e Fix tilde expansion in data_dir config 2026-02-02 22:22:02 +00:00
Johan Jongsma 30c4d15b87 Improve HTML body parsing - strip style/script/head blocks 2026-02-02 22:21:23 +00:00
Johan Jongsma b7a83f2ab5 Fix: remove accidental tilde directory from repo 2026-02-02 22:20:38 +00:00
Johan Jongsma 5c7c416029 Add documentation, systemd service, test script
- README with full API documentation
- Systemd service file
- Installation script
- Test script for API verification
- Environment file support for passwords
2026-02-02 22:20:31 +00:00
Johan Jongsma c6c0ccb9bc Message Center: unified API with connector architecture
- Connector interface for pluggable message sources
- Email connector (refactored IMAP code)
- WhatsApp connector (HTTP wrapper for message-bridge)
- Unified message store with cursor tracking
- New API endpoints:
  - GET /messages/new - unseen messages from all sources
  - GET /messages?since=24h - replay window
  - GET /messages/{id} - single message
  - POST /messages/ack - advance cursor
  - POST /messages/{id}/archive
  - POST /messages/{id}/delete
  - POST /messages/{id}/reply
  - POST /messages/{id}/to-docs
- Simplified webhook (just sends {event: 'new'})
- Legacy /accounts/ endpoints preserved for compatibility
2026-02-02 22:18:51 +00:00
Johan Jongsma 1dacfdbaf9 Flatten webhook payload for simpler template access
- Add uid, from, subject at top level of WebhookPayload
- Allows {{body.from}} instead of {{body.message.from}}
- Fixes empty fields in OpenClaw hook templates
- Full message object still available for detailed access
2026-02-02 22:01:17 +00:00
Johan Jongsma 59ddae7540 Add /ingest endpoint - server-side attachment forwarding to DocSys 2026-02-01 21:38:58 +00:00
Johan Jongsma ed28bb8a64 Add attachment download endpoint for DocSys integration 2026-02-01 21:30:50 +00:00
Johan Jongsma 3d2e651a5f chore: add binary to gitignore 2026-02-01 12:26:48 +00:00
Johan Jongsma 3690c1c199 feat: year filter, auto-create folders on move, fix MIME parser issues
- Increase limit from 200 to 2000 for bulk operations
- Add year query parameter for filtering messages by year
- Disable BodyStructure fetch (causes parser errors on malformed MIME)
- Auto-create destination folder on TRYCREATE error during move
- Better error handling for move operations
2026-02-01 12:26:44 +00:00
Johan Jongsma 1284a4a390 Initial commit 2026-02-01 08:03:59 +00:00