Build a help desk with a real customer portal, not just an inbox with a public form. Stack: your choice, Postgres, Docker Compose. Inbound mail through a signed provider webhook, outbound through a transactional provider on a domain you own with SPF, DKIM and DMARC. Agent side, kept conventional: tickets with status, priority, assignee, tags, threaded messages, internal notes stored separately from public replies, canned responses, and saved views with filters. The customer portal is the part worth the week: - Authentication by emailed magic link, no passwords. Links are single-use, expire in fifteen minutes, and are invalidated on use. Rate-limit requests per address. - A signed-in customer sees every ticket they submitted, its status, and the full public thread — never internal notes. Write a test asserting an internal note can never appear in the portal response body. - They can reply, which appends to the same ticket and notifies the assignee, and attach a file with a type allowlist and a size cap. - Organisations: an email domain can be mapped to an organisation, and a designated member can see all tickets from that organisation. This is the feature that separates a portal from a form, and it is where authorisation bugs live — test that a member of organisation A can never load a ticket from organisation B, by direct URL as well as through the list. - A public help centre: Markdown articles with categories, full-text search, and each article insertable into an agent reply. Data handling, because it is the honest half of this entry: a configurable retention policy that deletes closed tickets and their attachments after N days, a per-customer export producing everything you hold about them as one JSON file, and a hard-delete that actually removes attachments from storage rather than orphaning them. One report: tickets by status and priority per week, median time to first response, and reopen rate. Write tests for magic-link single use and expiry, for cross-organisation access being refused, and for hard-delete removing files from disk. Do not build a voice channel, mobile apps, or a marketplace.