Newsletter

Wiring Resend / Beehiiv subscriptions and rate limits

Last updated October 15, 2026


ProviderRequired config
resendRESEND_API_KEY, RESEND_AUDIENCE_ID
beehiivBEEHIIV_API_KEY, BEEHIIV_PUBLICATION_ID

BEEHIIV_SEND_WELCOME_EMAIL controls whether Beehiiv sends a welcome email; 'true' / 'false', default 'false'.

Subscription status is read through the KV cache (CACHE_TTL.newsletterStatus), and subscribe / unsubscribe invalidate the matching cache key.

ts
newsletter: { enabled: true, provider: 'resend' },

References

What's next