https://subscriptions.appneurox.com/domains (locked with the EDIT_PASSCODE secret) manages a separate update list for every website. Migration 0005 registers every portfolio website: the 74 domains of the shared site-enquiry worker, whose footer newsletter forms forward here over the SUBSCRIPTIONS service binding, and the five BrandX sites.
- Add a domain to get its site key and install snippets: a hosted sign-up page (
/s/<domain>), an HTML embed (/subscribe.js), a Next.js component (/api/provision/nextjs?key=…), or the JSON API (POST /api/subscribe). - Each domain's list is separate. One email address can subscribe to several domains; each subscription has its own status and unsubscribe link.
- Double opt-in. Sign-ups stay pending until the person clicks the link in the confirmation email (
/confirm). People you add on the Subscribers tab are active immediately, and anyone who unsubscribed is skipped. - Send update composes an email with a live preview and a test send, then sends it to the domain's active subscribers, 50 per request. The browser drives the requests, so keep the tab open; an interrupted update can be resumed, and failed recipients retried, from History. A recipient never gets the same update twice, and one bad address fails only that recipient.
- Unsubscribe works from the link in every email (
/unsubscribe, which asks for a click so link scanners cannot unsubscribe people) and through one-clickList-Unsubscribeheaders (RFC 8058) in Gmail, Yahoo, and Apple Mail.
Email is sent with Cloudflare Email Service through the send_email binding named EMAIL in wrangler.jsonc; there is no API key. Before deploying:
- In the Cloudflare dashboard, onboard
appneural.comto Email Service (Email Sending). Cloudflare adds the SPF and DKIM records. Until then, mail can go only to verified destination addresses on the account, which is enough for a test send. - Sending to any address needs the Workers Paid plan. New accounts start with a conservative daily quota that grows over time; when it runs out, the update pauses and can be resumed from History the next day.
Each domain sends from its own address (updates@<domain>, set under Settings) when that domain is onboarded to Email Sending; otherwise, or when Cloudflare rejects that sender, mail goes from EMAIL_FROM in wrangler.jsonc (updates@appneural.com). Each domain can also set its own sender name and reply-to address. In local development, Wrangler simulates the binding and prints every email in the terminal instead of delivering it.