Case 01 · Infrastructure
Gmail, deployed as infrastructure
- What
- Raphael needed her own email to be more than an inbox — it had to be a programmable system. A Gmail MCP kit was deployed to /www/Raphael/gmail-mcp on the VPS with a Python virtualenv, a systemd service on 127.0.0.1:8766, and nginx routing that maps /raphael/email/ to the backend with a magic-link setup UI.
- How
- The kit's config shipped truthy placeholder strings that silently disabled token generation — found by reading the code, fixed by stripping placeholders before generating. Port 8765 was already taken by another service, so the deployment moved to 8766 without disturbing it.
- What was hard
- The VPS disk was 96% full at deploy time; aaPanel's nginx answers to kill -HUP, not systemctl. Both facts were discovered, not assumed.
- Outcome
- A live setup page at versedkh.online/raphael/email/setup, a connected raphael.axiom@gmail.com, and a test email delivered to Verse within the hour.