2025
Fundació Pasqual Maragall
Self-service email preference center on the Mailchimp API
Challenge
A foundation with a large newsletter audience needed every subscriber to choose what they want to receive — straight from the email itself, with no accounts, no passwords and no support tickets. The mailing platform is the single source of truth for subscribers and interests, so preferences had to stay in sync there in real time.
Solution
A lightweight Express application that turns a personalized link into a full preference center. The link carries a per-subscriber identifier, so no login is needed; the server verifies it, pulls the subscriber’s interests and categories from the Mailchimp Marketing API, renders the page in the subscriber’s language, and writes every change back the moment it is saved. The platform credentials never leave the server.
- Open. The personalized link identifies the subscriber — no login, no passwords.
- Read. The server pulls the subscriber’s interests and categories from the API.
- Render. The page is built in the subscriber’s language.
- Save. Every change is written back through the API the moment it is made.
- Isolation. The browser never talks to the mailing platform — the server handles every request.
Results
- Self-service preferences, zero support tickets
- No passwords — personalized links identify each subscriber
- Real-time two-way sync with the mailing platform
- Catalan or Spanish, rendered per subscriber