Skip to content

feat(kiloclaw): add inbound email routing#2362

Merged
RSO merged 16 commits intomainfrom
RSO/elegant-cloudberry
Apr 14, 2026
Merged

feat(kiloclaw): add inbound email routing#2362
RSO merged 16 commits intomainfrom
RSO/elegant-cloudberry

Conversation

@RSO
Copy link
Copy Markdown
Contributor

@RSO RSO commented Apr 13, 2026

Summary

  • Add kiloclaw-inbound-email, a Cloudflare Email Routing Worker that parses inbound messages, validates per-instance addresses, queues delivery, and forwards to KiloClaw over a service binding.
  • Add controller-mediated inbound hook delivery so external Workers authenticate with the gateway token while OpenClaw receives the local per-boot hooks token.
  • Add a KiloClaw platform endpoint to resolve active instances, route to the pinned Fly machine, and deliver inbound email payloads to /hooks/email.
  • Register the new Worker in dev:start, update KiloClaw controller specs, and include the implementation plan.

Visual Changes

CleanShot 2026-04-14 at 11 58 33@2x

@RSO RSO force-pushed the RSO/elegant-cloudberry branch from bc32166 to 02eb35b Compare April 14, 2026 08:56
@RSO RSO marked this pull request as ready for review April 14, 2026 09:57
@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Apr 14, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (4 files)
  • services/kiloclaw-inbound-email/src/index.test.ts
  • services/kiloclaw-inbound-email/src/index.ts
  • services/kiloclaw-inbound-email/src/parser.test.ts
  • services/kiloclaw-inbound-email/src/parser.ts

Reviewed by gpt-5.4-20260305 · 560,938 tokens

RSO and others added 2 commits April 14, 2026 12:11
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
@RSO RSO merged commit e71f8d2 into main Apr 14, 2026
35 checks passed
@RSO RSO deleted the RSO/elegant-cloudberry branch April 14, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants