# #059 — Utilitarian Newsletter Studio

> Crisp stationery-white Markdown newsletter studio with royal cobalt accents, cohort selectors, and deliverability preflight.

## Metadata

- **Index**: #059
- **Slug**: `utilitarian-newsletter-studio`
- **Kind**: `style`
- **Family**: Minimalist Utility & Indie Developer Tooling
- **Theme**: `light`
- **Mobile Strength**: `high`
- **Tags**: `newsletter`, `indie-saas`, `utilitarian`, `markdown`, `cobalt-accent`, `minimalist`
- **Best For**: Indie publishing and developer newsletter tools, Transactional email and changelog composers, Utilitarian SaaS writing and form dashboards
- **Real-World Inspiration**: [Buttondown](https://buttondown.com/)
- **Detail Page**: https://templates.michaelpitts.net/t/utilitarian-newsletter-studio
- **Live Demo**: https://templates.michaelpitts.net/demos/utilitarian-newsletter-studio.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/utilitarian-newsletter-studio

## Why This Aesthetic Is Unique

Replaces bloated drag-and-drop email builders with utilitarian form precision, live Markdown-to-email previewing, and transparent technical deliverability checks.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Crisp Stationery | `#FFFFFF` |
| `surface` | Composer Tint | `#F5F7FA` |
| `ink` | Ink Black | `#14181F` |
| `accent` | Royal Cobalt | `#0055FF` |
| `muted` | Subtle Slate | `#616B7A` |

## Typography

- **Display**: `IBM Plex Sans`
- **Body**: `IBM Plex Sans`
- **Mono**: `IBM Plex Mono`
- **Scale Notes**: Structured IBM Plex Sans form labels and controls (13-15px) paired with monospace Markdown editor and live KB payload counters.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap">
  ```

## Layout Architecture

Two-column utilitarian workbench: primary Markdown/Email-Preview composer on the left, paired with selectable subscriber cohorts and a DKIM/payload preflight checklist on the right.

## Interaction & Micro-Motion Rules

Edit subject and Markdown body to watch payload KB and rendered email preview update live, switch subscriber cohorts, and queue an issue with instant confirmation feedback.

## Mobile & Responsive Rules

Stacks composer, cohort selector, and preflight checklist vertically at 390px with full-width 44px inputs and controls.

## Agent Guardrails

### DO
- Make forms crisp, high-contrast, and immediately legible with clear monospace labels
- Pair every authoring pane with real-time technical preflight checks (payload size, DKIM)
- Use royal cobalt (#0055FF) decisively for primary actions and active states

### DON'T
- Do not bloat the composer with drag-and-drop marketing template galleries
- Do not hide recipient count or subject line behind secondary tabs

## Complete Standalone Starter Code

File: `demos/utilitarian-newsletter-studio.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Dispatch — Utilitarian Newsletter Studio</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #FFFFFF;
      --surface: #F5F7FA;
      --ink: #14181F;
      --accent: #0055FF;
      --accent-soft: #EBF2FF;
      --muted: #616B7A;
      --border: #DCE2EC;
      --ok: #15803D;
      --ok-soft: #DCFCE7;
      --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html, body {
      margin: 0;
      padding: 0;
      background: var(--canvas);
      color: var(--ink);
      font-family: var(--font-sans);
      overflow-x: hidden;
    }
    button, input, textarea, select { font-family: inherit; }

    .nav {
      border-bottom: 1px solid var(--border);
      background: var(--canvas);
      position: sticky;
      top: 0;
      z-index: 20;
    }
    .nav-inner {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 20px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 9px;
      font-weight: 700;
      font-size: 16px;
      letter-spacing: -0.02em;
    }
    .logo-badge {
      width: 26px;
      height: 26px;
      border-radius: 6px;
      background: var(--accent);
      color: #fff;
      display: grid;
      place-items: center;
      font-family: var(--font-mono);
      font-size: 13px;
    }
    .nav-tabs {
      display: flex;
      gap: 4px;
    }
    .nav-tabs button {
      min-height: 44px;
      padding: 0 14px;
      border: 1px solid transparent;
      border-radius: 6px;
      background: transparent;
      color: var(--muted);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
    }
    .nav-tabs button.active {
      color: var(--accent);
      background: var(--accent-soft);
    }
    .send-cta {
      min-height: 44px;
      padding: 0 16px;
      border-radius: 6px;
      border: 1px solid var(--accent);
      background: var(--accent);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
    }
    .send-cta:hover { filter: brightness(0.92); }

    .wrap {
      max-width: 1160px;
      margin: 0 auto;
      padding: 28px 20px 64px;
      display: grid;
      grid-template-columns: 1.45fr 1fr;
      gap: 24px;
      align-items: start;
    }

    .panel {
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--canvas);
      overflow: hidden;
    }
    .panel-head {
      padding: 12px 16px;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .panel-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--ink);
    }
    .seg {
      display: inline-flex;
      border: 1px solid var(--border);
      border-radius: 6px;
      overflow: hidden;
      background: var(--canvas);
    }
    .seg button {
      min-height: 36px;
      padding: 0 12px;
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
    }
    .seg button.active {
      background: var(--accent);
      color: #fff;
    }

    .composer-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .field-label {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
      margin-bottom: 6px;
    }
    .text-input {
      width: 100%;
      min-height: 44px;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 6px;
      font-size: 15px;
      font-weight: 500;
      color: var(--ink);
    }
    .text-input:focus, .md-editor:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.12);
    }
    .md-editor {
      width: 100%;
      min-height: 290px;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--surface);
      font-family: var(--font-mono);
      font-size: 13px;
      line-height: 1.7;
      color: var(--ink);
      resize: vertical;
    }
    .email-preview {
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 24px;
      background: #fff;
      min-height: 290px;
    }
    .email-meta {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--muted);
      padding-bottom: 14px;
      margin-bottom: 16px;
      border-bottom: 1px solid var(--border);
      line-height: 1.6;
    }
    .email-preview h2 {
      font-size: 20px;
      margin: 0 0 12px;
      letter-spacing: -0.01em;
    }
    .email-preview p {
      font-size: 15px;
      line-height: 1.65;
      margin: 0 0 14px;
    }
    .email-preview code {
      font-family: var(--font-mono);
      font-size: 13px;
      background: var(--surface);
      padding: 2px 5px;
      border-radius: 4px;
    }

    /* Right Column: Audience & Preflight */
    .side-stack {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .side-body {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .cohort-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .cohort-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      min-height: 44px;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--canvas);
      text-align: left;
      cursor: pointer;
    }
    .cohort-btn.active {
      border-color: var(--accent);
      background: var(--accent-soft);
    }
    .cohort-btn strong { font-size: 14px; display: block; }
    .cohort-btn span { font-size: 12px; color: var(--muted); }
    .cohort-num {
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
    }
    .check-item {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 36px;
      font-size: 13px;
    }
    .check-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--ok-soft);
      color: var(--ok);
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .toast {
      display: none;
      padding: 12px 14px;
      border-radius: 6px;
      background: var(--ok-soft);
      color: var(--ok);
      font-size: 13px;
      font-weight: 500;
      border: 1px solid #BBF7D0;
    }
    .toast.show { display: block; }

    @media (max-width: 860px) {
      .wrap { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .nav-tabs { display: none; }
      .wrap { padding: 18px 14px 48px; }
    }
  </style>
</head>
<body>
  <header class="nav">
    <div class="nav-inner">
      <div class="logo">
        <span class="logo-badge">D</span>
        <span>Dispatch</span>
      </div>
      <nav class="nav-tabs" aria-label="Workspace">
        <button class="active">Drafts</button>
        <button>Subscribers</button>
        <button>Automations</button>
        <button>API</button>
      </nav>
      <button class="send-cta" id="sendBtn">Queue Issue #48</button>
    </div>
  </header>

  <main class="wrap">
    <section class="panel">
      <div class="panel-head">
        <span class="panel-title">Issue #48 · Plain-Markdown Composer</span>
        <div class="seg" role="tablist">
          <button class="active" data-mode="write">Markdown</button>
          <button data-mode="preview">Email Preview</button>
        </div>
      </div>
      <div class="composer-body">
        <div>
          <label class="field-label" for="subjectInput">Subject Line</label>
          <input class="text-input" id="subjectInput" value="Shipping small software without a growth team">
        </div>
        <div id="writePane">
          <label class="field-label" for="bodyInput">Body (Markdown)</label>
          <textarea class="md-editor" id="bodyInput">Hello readers,

This week we trimmed our entire telemetry pipeline down to a single SQLite file and a 40-line cron script.

## Why plain-text email still wins
Readers open plain, well-typeset letters at twice the rate of heavy multi-column marketing templates. Keep the payload under `18 KB` so it never clips in Gmail.

Reply directly to this email if you want the schema migration notes.</textarea>
        </div>
        <div id="previewPane" class="email-preview" hidden>
          <div class="email-meta" id="emailMeta"></div>
          <div id="emailRendered"></div>
        </div>
      </div>
    </section>

    <aside class="side-stack">
      <section class="panel">
        <div class="panel-head">
          <span class="panel-title">Audience Cohort</span>
          <span class="panel-title" style="font-family:var(--font-mono);color:var(--accent)" id="selectedCount">4,218</span>
        </div>
        <div class="side-body">
          <div class="cohort-list">
            <button class="cohort-btn active" data-cohort="all" data-count="4,218">
              <div><strong>All Confirmed Subscribers</strong><span>Double opt-in · 99.4% deliverability</span></div>
              <span class="cohort-num">4,218</span>
            </button>
            <button class="cohort-btn" data-cohort="paid" data-count="892">
              <div><strong>Supporter Tier</strong><span>Tag: paid-annual</span></div>
              <span class="cohort-num">892</span>
            </button>
            <button class="cohort-btn" data-cohort="dev" data-count="1,640">
              <div><strong>Engineering Changelog</strong><span>Tag: api-updates</span></div>
              <span class="cohort-num">1,640</span>
            </button>
          </div>
        </div>
      </section>

      <section class="panel">
        <div class="panel-head">
          <span class="panel-title">Deliverability Preflight</span>
          <span class="panel-title" style="font-family:var(--font-mono);color:var(--ok)">PASS</span>
        </div>
        <div class="side-body">
          <div class="check-item"><span class="check-dot">✓</span>DKIM &amp; DMARC alignment verified for <code>dispatch.dev</code></div>
          <div class="check-item"><span class="check-dot">✓</span>Estimated HTML payload: <strong id="byteSize">2.4 KB</strong> (zero Gmail clipping)</div>
          <div class="check-item"><span class="check-dot">✓</span>One-click RFC 8058 List-Unsubscribe header attached</div>
          <div class="toast" id="sendToast" role="status"></div>
        </div>
      </section>
    </aside>
  </main>

  <script>
    const $ = id => document.getElementById(id);
    let cohortName = 'All Confirmed Subscribers';
    let cohortCount = '4,218';

    function renderPreview() {
      const subj = $('subjectInput').value.trim() || '(No subject)';
      const raw = $('bodyInput').value;
      const bytes = (new Blob([raw]).size / 1024 + 1.8).toFixed(1);
      $('byteSize').textContent = `${bytes} KB`;

      $('emailMeta').innerHTML =
        `From: Engineering Notes &lt;hello@dispatch.dev&gt;<br>` +
        `To: ${cohortName} (${cohortCount} recipients)<br>` +
        `Subject: <strong>${subj.replace(/</g, '&lt;')}</strong>`;

      const esc = s => s.replace(/&/g, '&amp;').replace(/</g, '&lt;');
      const html = raw.split('\n\n').map(block => {
        const t = block.trim();
        if (!t) return '';
        if (t.startsWith('## ')) return `<h2>${esc(t.slice(3))}</h2>`;
        return `<p>${esc(t).replace(/`([^`]+)`/g, '<code>$1</code>').replace(/\n/g, '<br>')}</p>`;
      }).join('');
      $('emailRendered').innerHTML = html;
    }

    document.querySelectorAll('[data-mode]').forEach(btn => {
      btn.addEventListener('click', () => {
        const isPreview = btn.dataset.mode === 'preview';
        document.querySelectorAll('[data-mode]').forEach(b => b.classList.toggle('active', b === btn));
        $('writePane').hidden = isPreview;
        $('previewPane').hidden = !isPreview;
        renderPreview();
      });
    });

    document.querySelectorAll('.cohort-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        document.querySelectorAll('.cohort-btn').forEach(b => b.classList.toggle('active', b === btn));
        cohortName = btn.querySelector('strong').textContent;
        cohortCount = btn.dataset.count;
        $('selectedCount').textContent = cohortCount;
        renderPreview();
      });
    });

    $('subjectInput').addEventListener('input', renderPreview);
    $('bodyInput').addEventListener('input', renderPreview);

    $('sendBtn').addEventListener('click', () => {
      const toast = $('sendToast');
      toast.textContent = `Queued Issue #48 for ${cohortCount} subscribers (${cohortName}). Delivery begins in 60s.`;
      toast.classList.add('show');
    });

    renderPreview();
  </script>
</body>
</html>
```
