Skip to content

Add Resend webhook endpoint for inbound email forwarding#57

Merged
alexpricedev merged 1 commit intomainfrom
alexpricedev/resend-webhook
Apr 5, 2026
Merged

Add Resend webhook endpoint for inbound email forwarding#57
alexpricedev merged 1 commit intomainfrom
alexpricedev/resend-webhook

Conversation

@alexpricedev
Copy link
Copy Markdown
Owner

Summary

  • Adds a POST /api/webhooks/resend endpoint that receives Resend inbound email webhooks
  • Verifies webhook signatures using svix for security
  • Forwards received emails to a personal address configured via FORWARD_EMAIL_TO env var, with the original sender shown in the from display name
  • Adds svix dependency and 6 tests covering all paths

Test plan

  • Tests pass (bun run test:api — 10 pass, 0 fail)
  • Lint + typecheck clean (bun run check)
  • Manually verified forwarding works end-to-end via Resend dashboard

🤖 Generated with Claude Code

Receives inbound emails via Resend webhook, verifies signature with svix,
and forwards to a configurable personal email address.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexpricedev alexpricedev merged commit 4199efd into main Apr 5, 2026
3 checks passed
@alexpricedev alexpricedev deleted the alexpricedev/resend-webhook branch April 5, 2026 07:14
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.

1 participant