Build a ticketing help desk whose SLA clock is honest. Stack: your choice, Postgres, Docker Compose. Inbound mail via a signed provider webhook, outbound via a transactional provider on a domain you own with SPF, DKIM and DMARC. Ticket model: subject, requester, assignee, status (open, pending, on hold, resolved, closed), priority, and a threaded message list. Threading by Message-ID and References with a subject-plus-sender fallback. The SLA engine is the build, and getting it right is the difference between this and a mailbox: - Define business hours per weekday plus a holiday list, in a configurable timezone. - Define SLA policies matching on priority: a first-response target and a resolution target, in business hours not wall-clock hours. - The clock starts on the first inbound message. It pauses whenever the ticket is pending or on hold — that is, when the ball is in the customer's court — and resumes when they reply. It stops on resolve. - Every ticket shows time remaining, not time elapsed, and turns visibly urgent below a configurable threshold. A breached ticket is marked permanently: fixing it later must not erase that it breached. - Store every pause and resume as a row, so the elapsed calculation can be audited rather than trusted. Automations, kept to a readable rule table: on a trigger (created, updated, time elapsed) with conditions on fields, run actions (set priority, assign, add tag, send a templated reply). Rules run in a listed order and the ticket records which rules fired, so a mysterious assignment can be explained. Canned replies with placeholders, a public status-free knowledge base of articles insertable into replies, and CSV export of tickets with their SLA outcomes. One report: SLA attainment by priority per week, and the top five automation rules by fire count. Write tests for the business-hours clock across a weekend, across a holiday, and across a daylight-saving change, and for pause and resume producing the same total as a manual calculation. Do not build mobile apps, an AI agent, or a marketplace.