HB-works.

Divya weds Alex.

A bespoke wedding website for Divya and Alex's destination wedding in Scopello, Sicily — built to handle the full guest journey from invitation to RSVP, with all host-facing management living in Notion.

client
Divya & Alex
year
2026
tags
web app, notion, resend

Goals

Wedding websites typically reduce to a static information page with a separate form tool bolted on. The brief here was different: a single, cohesive experience that felt personal to the couple, handled the multi-day nature of a destination wedding (a welcome drinks evening and a full wedding day, each requiring a separate RSVP answer), and gave the hosts genuine operational control without requiring a developer for routine tasks like updating travel information or sending a reminder email.

The site is password-protected — the URL goes out with the invitations, so only invited guests ever see it.

Notion as the backend

Rather than a traditional CMS or database, all four data stores live in Notion workspaces the couple already use day-to-day:

  • Guests DB — one row per guest: name, attendance answers, dietary requirements, song request, email address, RSVP timestamp.
  • Parties DB — groups guests into households. Stores the invitation email address, accommodation type, and a formula-driven RSVP status that rolls up from individual guest answers.
  • Content DB — every informational page on the site (schedule, dress code, getting there, gifts, FAQ) is a Notion page. Divya and Alex edit them with the normal Notion editor; the site re-renders within minutes.
  • Emails DB — broadcast emails are drafted as Notion pages too. The block content becomes the email body using the same renderer as the content pages, so the house style carries through automatically.

The technical consequence is that the couple never need to open a dashboard, a CMS, or the codebase to manage their guest list, update information, or schedule a message. Everything is in one tool they already know.

The parties feature

Early on, a round of user research surfaced a consistent finding: guests expected to be able to answer for their partner or family in the same session. Every participant who was attending with someone else asked, unprompted, whether they could fill it in for both of them at once.

That finding drove the parties model. When a guest looks themselves up by name, they land on a party screen showing all the people in their household alongside their current RSVP status. They can answer for each person in turn, with the flow looping back to the party screen between guests until everyone in the household has responded.

The parties model also turned out to be useful in a second, unrelated way. Each party in Notion has an Accommodation field — On-site (staying at the Tonnara di Scopello venue) or Off-site (staying nearby). The accommodation page on the site reads this field and shows only the content relevant to the guest's situation: on-site guests see directions and check-in logistics for the venue; off-site guests see nearby hotel recommendations and shuttle timing. Guests who haven't RSVPd yet see both sections. The two content bodies are maintained as sub-pages inside the Notion accommodation page, so the copy can be edited independently.

Email with Resend

All email runs through Resend from a single hello@divyawedsalex.com address, along two separate paths:

  • Transactional — when a guest submits their RSVP, a confirmation email goes out immediately, summarising their answers and including a link back to the site if they want to update. If their song request was matched via Spotify, the email includes a link to the wedding playlist so they can see their track in it.
  • Broadcast — the hosts compose emails in the Notion Emails DB: they write the subject line and body using Notion's editor, set a send date, choose a recipient segment (all guests, on-site guests, off-site guests, or a test address), and check a Ready to send box when the draft is final. A GitHub Actions workflow polls the site's /api/email-cron endpoint every 15 minutes; the endpoint claims due rows, renders the Notion page content into the house email template, resolves the recipient list, and dispatches individual emails via Resend's batch API.

Broadcast recipients are deduplicated by email address, so couples sharing an inbox receive one copy. Addresses are never exposed to each other (no CC/BCC). A claim-first strategy combined with Resend idempotency keys means overlapping polls can never produce a double-send, even if two GitHub Actions runs overlap.

Performance and pre-launch testing

A demo session on a real phone before launch revealed two separate problems: hero images appeared noticeably late (popping in after the rest of the page), and tapping buttons felt unresponsive — the silence between tap and navigation made users think their tap hadn't registered.

Both were addressed. Images went through a full optimisation pass: the original photo assets totalled around 7 MB; after downscaling and re-encoding, the above-the-fold payload on mobile (AVIF, 500 px wide) dropped to roughly 70 KB. Notion-hosted images presented a separate challenge — Notion serves them via short-lived signed S3 URLs that expire within an hour, which meant any HTML containing those URLs became stale. The solution was to mirror every Notion image into Vercel Blob under a stable key derived from the S3 pathname, and embed the permanent CDN URL in the page HTML at render time. A pre-launch warm-up script pre-populated the Blob store so the very first visitor after launch would see CDN URLs, not signed ones. Interactive feedback was added across the board: active: states on every touchable element so buttons invert instantly on tap, per-button spinners while forms are in flight, and a 2 px progress bar at the top of the viewport during page transitions.

Other details worth noting

  • Spotify integration — the song request step connects to the Spotify API. Guests search for a track by name, see album artwork and artist confirmation in the UI, and on submission the track is added to a Spotify playlist automatically. The search is client-side with debounce; the playlist write is server-side only.
  • Fuzzy name matching — guests identify themselves by typing their name. A Levenshtein distance implementation on the server matches against the guest list with a 70% similarity threshold, tolerating minor spelling variations and partial first names. The guest list never leaves the server.
  • Disambiguating shared names — two guests share the name Nilesh. Rather than a generic disambiguation list, they land on a bespoke screen: "Hey Nilesh, great name! So good in fact that we couldn't have just one at the wedding. Are you... North London forever / South London till you die." Small, but it's the kind of thing people mention.
  • Deployment strategy — pushes to main do not trigger an immediate production deploy. A GitHub Actions workflow deploys to production nightly at 2 am UTC, only if there are new commits since the last deploy. This avoids swapping the production deployment while guests might be mid-RSVP — a race that could reset in-progress answers.
  • Screenshot automation — a Playwright script can walk the full guest journey for any guest in the Notion database, forging signed session cookies and capturing every screen on mobile or desktop. Used for visual QA without needing to RSVP manually each time.