Skip to content

Custom Domains: End-to-End Fixes & Polish#2

Merged
mqmalagris merged 5 commits into
mainfrom
dev
Apr 25, 2026
Merged

Custom Domains: End-to-End Fixes & Polish#2
mqmalagris merged 5 commits into
mainfrom
dev

Conversation

@mqmalagris
Copy link
Copy Markdown
Owner

@mqmalagris mqmalagris commented Apr 25, 2026

Summary

Fixes the custom domain feature so premium users can register, verify, and use their own domains for vanity inboxes.

Changes

Custom domain flow now fully working:

  • ListUserDomains switched from Scan to GSI Query for reliable lookups
  • DNS records (TXT + MX) now returned in the domain list response, not just at registration time
  • Auto-check pending domain verification on page load (no manual click required)
  • Vanity inbox form now shows verified custom domains in the domain selector
  • Processor accepts emails for any registered inbox regardless of domain

Inbox handling fixes:

  • Timer no longer renders before expires_at is loaded (fixes false "expired" state on fresh inbox load)
  • Reset expired flag when creating new inboxes to prevent stale state
  • CanCreateInbox and inbox count now exclude domain/sentinel records

Test plan

  • Add custom domain → DNS records appear
  • Verify domain → status updates automatically on reload
  • Create vanity inbox at name@yourdomain.com → works
  • Send email to that address → message arrives
  • Inbox count on account page is accurate
  • All existing tests pass (14 Go, 27 web)

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ephemask-web Ready Ready Preview, Comment Apr 25, 2026 11:17pm

@mqmalagris mqmalagris self-assigned this Apr 25, 2026
@mqmalagris mqmalagris merged commit 2b310b6 into main Apr 25, 2026
5 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