Skip to content

Fix email webhook domain matching, improve org detail UI, add interest level to Addie#492

Merged
bokelley merged 2 commits into
mainfrom
bokelley/check-email-webhook
Jan 3, 2026
Merged

Fix email webhook domain matching, improve org detail UI, add interest level to Addie#492
bokelley merged 2 commits into
mainfrom
bokelley/check-email-webhook

Conversation

@bokelley

@bokelley bokelley commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Email webhook domain matching: Auto-links contacts to organizations by domain lookup (fallback after membership lookup fails). Fixes contacts from prospect emails not being linked to their organization when the domain is already verified.

  • Admin org detail UI improvements:

    • Moved Account Team section to top of left column for better visibility
    • Replaced "I'm connected" button with role dropdown (Owner/Interested/Connected)
    • Fixed interest level modal display style consistency
  • Addie update_prospect tool: Added interest_level parameter so Addie can set prospect interest levels when logging notes with engagement signals.

Test plan

  • TypeScript type check passes
  • All unit tests pass (131 tests)
  • Code review completed - no critical issues
  • Manual test: Send email CC'd to addie+prospect@ for a contact with verified domain, verify it gets auto-linked
  • Manual test: Change account team role via dropdown on org detail page
  • Manual test: Set interest level via Addie's update_prospect tool

🤖 Generated with Claude Code

bokelley and others added 2 commits January 2, 2026 19:24
…t level to Addie

- Email webhook now auto-links contacts to orgs by domain lookup (falls back after
  membership lookup fails). This fixes contacts from prospect emails not being linked
  to their organization when the domain is already verified.

- Admin org detail page improvements:
  - Moved Account Team section to top of left column for visibility
  - Replaced "I'm connected" button with role dropdown (Owner/Interested/Connected)
  - Fixed interest level modal display style consistency

- Added interest_level parameter to Addie's update_prospect tool so she can set
  prospect interest levels when logging notes with engagement signals.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The domain lookup logic is now in contacts-db.ts upsertEmailContact()
instead of webhooks.ts, following the refactoring in main.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit c801ac2 into main Jan 3, 2026
6 checks passed
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