OutlookSucks.email

MVP
Next.jsReactTypeScriptTailwind CSSClaude APITiptapdnd-kitZodClerkSupabaseVitestVercel
Work with me

47 commits in the last 90 days · 47 all-time

Classic Outlook for Windows renders email with Microsoft Word's engine. Flexbox, grid, rounded corners and media queries all fail there, so every internal email that has to look right ends up as hand-written nested tables. OutlookSucks.email writes those tables for you. You build the email visually from a fixed set of brand-approved blocks, and download a real Outlook template your team opens and sends.

The problem, in one ticker

The home page makes the case on a loop: "Does display:flex work in Outlook for Windows? NO." The ticker draws on Can I email's support data, which lists about 200 features with no support at all in classic Outlook for Windows.

Every answer is no.

Start from an example

Three ready-made emails show what comes out: an event invite, a two-column team newsletter, and a service notice. Each one belongs to a sample brand with its own colours, fonts and voice. Open one and it's yours to edit. Drafts live in your browser, so there's nothing to sign up for.

Three example emails: a Harbor & Pine spring town hall invite, the Lumen Labs team newsletter in two columns, and a Copperfield Group scheduled maintenance notice
Real output from the renderer, not mock-ups.

Edit on the email itself

Click any text on the canvas and type. A floating toolbar handles size, alignment, colour and spacing, and the inspector holds every setting for the selected block. Drag blocks in from the side panel, or split a row into two or three columns.

Type on the canvas, drag in a block.
  • Blocks: logo header, hero image, headline and body, button, divider, social icons, footer, and rows of columns
  • Hold Option (Alt) to see every block's padding, and step it in 5px increments
  • Undo and redo, an image library, and a warning when an image is too low-resolution to look sharp
  • Missing links and leftover placeholders are listed under Unresolved before anything ships

AI that edits, not generates

Describe the email, or attach a design comp as an image or PDF, and Claude builds the first draft from the brand's own blocks. The model never writes HTML. It returns a short list of operations (add, update, move or remove a block, set the subject), and each one is checked against that block's schema. Either the whole set applies or none of it does.

  • If validation fails, the errors go back to the model for one retry
  • Blocks the request didn't touch stay exactly as they were
  • The model can't set image sources, and writes [[PLACEHOLDER]] instead of inventing facts or links. Placeholders are flagged before export
  • If you keep editing while it works, you choose whether to apply its changes on top of yours or discard them. Every AI change is a single undo step

The AI assistant is built and tested against a scripted model. It goes live on the site once its production key is set.

A real Outlook template, written byte by byte

An .oft is a Microsoft compound file, the same format as an old Word document. Instead of using a generic library, I wrote the file writer myself, to control the details Outlook's reader depends on. Export is a ZIP with the template and a README of instructions. The export dialog says plainly what has been verified and what hasn't.

The Export dialog: Outlook template (.oft) selected, with badges for generation implemented, structural checks passed and Outlook verified not yet; the Mac template marked experimental and unavailable; and two unresolved items to acknowledge
Export says exactly what's been verified.
  • A from-scratch MS-CFB and MS-OXMSG writer. An .oft differs from an .msg only by one class ID on the root entry
  • Images travel inside the file as inline attachments, so recipients never load them from the app
  • Each file is read back by two independent parsers, plus strict Python checks of the file's internal structure
  • An Outlook for Mac exporter is built, but stays switched off until it's checked against a template saved by Outlook for Mac

Engineering details

  • One renderer feeds both the preview and every export: tables, inline styles, explicit image sizes, a fixed 600px width. Tests fail if a class, a media query, flexbox or grid gets in
  • Emails are stored as structured JSON, never HTML. Rich text is a restricted Tiptap editor, and pasted content is cut down to bold, italic, links and bullets
  • Links must be https, http or mailto, and every piece of text is escaped
  • Signing in is optional. Accounts run on Clerk and Supabase, where row-level security keeps each user to their own emails and images
  • Revision numbers stop two open tabs from silently overwriting each other
  • More than 100 tests, covering hostile pastes, malformed AI output, unsafe links, and access to other users' data

Technical Stack

Next.js 16 and React 19 with TypeScript and Tailwind CSS, deployed on Vercel. The Claude API with structured outputs drafts emails as validated operations. Tiptap powers the restricted rich-text editing, dnd-kit the drag and drop, and Zod the per-block schemas. The .oft writer is a custom TypeScript implementation of Microsoft's compound file and Outlook message formats. Optional accounts run on Clerk with Supabase Postgres and Storage behind row-level security. Tested with Vitest, with Python structural checks on the exported files.

Work with me

Want something like this built?

I take on client work — sites, apps, AI systems, and devices. Tell me what you're imagining and I'll tell you how I'd build it.

Work with me →