Server-side lead capture
The /api/leads route validates submissions, optionally deduplicates against a Notion clients database, writes to a leads database, and sends notification email via Resend.
Integrations are optional — unset env vars disable each layer without breaking the site.