---
title: "Vibe coding a visual email editor with AI, Laravel & Vue"
url: "https://aaronfrancis.com/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue"
path: "/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue"
type: video
author: Aaron Francis
published: 2025-07-30
topic: "AI & agents"
keywords: [vibe coding, email editor, ai pair programming, laravel, vue, maizzle, block-based editor, drag-and-drop, tailwind, claude, gpt, real-time preview]
youtube_url: "https://www.youtube.com/watch?v=qsTb9Y99qcQ"
chunked: true
full_bytes: 85764
section_count: 26
full_url: "/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Vibe coding a visual email editor with AI, Laravel & Vue

## Sections (83.8 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (83.8 KB)](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/full.md).

### 1. What we're building: a block email editor (00:00–00:56 · 1.1 KB)
Aaron is building a constrained block-based email editor for his weekly newsletter that lets users add discrete sections like headings and fetch video thumbnails via URL.
Keywords: `block email`, `email editor`, `email`, `block`, `editor`, `vibe code`, `latest video`, `saas`
[Read section 1 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/1-what-were-building-a-block-email-editor.md)

### 2. Live preview and Maizzle integration (00:56–02:25 · 1.6 KB)
The editor provides real-time email preview using Maizzle (email rendering server) to handle wonky email requirements like CSS inlining, with block reordering and backend data fetching.
Keywords: `maizzle integration`, `maizzle`, `integration`, `email`, `massive chunk`, `mailzul`, `view`, `rendering`
[Read section 2 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/2-live-preview-and-maizzle-integration.md)

### 3. Real dev workflow: AI-assisted coding (02:25–03:09 · 0.7 KB)
Aaron demonstrates realistic AI-assisted development by using Claude, ChatGPT, and JetBrains' Junie to write large code chunks then refining them, contrasting hype-driven AI content.
Keywords: `real dev`, `dev workflow`, `ai-assisted coding`, `dev`, `workflow`, `ai-assisted`, `chatgpt`, `jetbrains`
[Read section 3 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/3-real-dev-workflow-ai-assisted-coding.md)

### 4. Starting the Laravel + Vue project (03:09–04:18 · 1.0 KB)
Project setup starts with `laravel new email-view` and planning a constrained block editor UI with left panel for components, middle editor, and right preview.
Keywords: `vue project`, `laravel`, `starting`, `vue`, `editor`, `email`, `heading`, `blocks`
[Read section 4 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/4-starting-the-laravel-vue-project.md)

### 5. Drawing out the UI layout (04:19–05:56 · 1.5 KB)
Three-column layout designed: left panel (component drawer), middle (email builder), right (preview); includes specialized blocks like YouTube video fetcher and course promo.
Keywords: `ui layout`, `drawing`, `ui`, `layout`, `email`, `sqlite`, `fetches`, `middle`
[Read section 5 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/5-drawing-out-the-ui-layout.md)

### 6. Why this editor uses constrained blocks (05:56–07:08 · 1.1 KB)
Constrained block approach (not Notion-style freeform) chosen because only specific block types are needed; each block has a form for user input generating JSON data.
Keywords: `editor uses`, `uses constrained`, `constrained blocks`, `editor`, `uses`, `constrained`, `blocks`, `heading`
[Read section 6 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/6-why-this-editor-uses-constrained-blocks.md)

### 7. Planning reusable components (YouTube, promo, etc.) (07:08–09:17 · 1.5 KB)
Laravel route and builder view set up; planning reusable components for YouTube videos, course promos, and markdown blocks that pull data server-side.
Keywords: `planning reusable`, `reusable components`, `planning`, `reusable`, `components`, `promo`, `etc`, `rid`
[Read section 7 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/7-planning-reusable-components-youtube-promo-et.md)

### 8. Setting up the Laravel route and view (09:18–13:02 · 2.8 KB)
Chat GPT is asked to generate a detailed Vue.js builder component prompt; the goal is a three-column layout generating JSON blocks without client-side email rendering.
Keywords: `laravel route`, `vue`, `view`, `laravel`, `route`, `user clicks`, `component`, `heading`
[Read section 8 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/8-setting-up-the-laravel-route-and-view.md)

### 9. Writing the first AI prompt (13:02–15:00 · 1.1 KB)
Aaron refines a detailed prompt for ChatGPT specifying Vue 3 with options API (no TypeScript), three-column layout, and block-based JSON structure.
Keywords: `first ai`, `ai prompt`, `chatgpt`, `ai`, `prompt`, `three columns`, `doo`, `typescript`
[Read section 9 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/9-writing-the-first-ai-prompt.md)

### 10. Feeding layout into Claude and refining structure (15:01–18:29 · 2.1 KB)
Claude is given requirements.txt and asked to plan the builder component; Aaron requests using options API and plain JavaScript instead of composition API and TypeScript.
Keywords: `feeding layout`, `refining structure`, `claude`, `vue`, `typescript`, `feeding`, `layout`, `refining`
[Read section 10 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/10-feeding-layout-into-claude-and-refining-structur.md)

### 11. Why emails are hard and Maizzle helps (18:30–20:30 · 1.7 KB)
Emails are complex due to client compatibility; Maizzle handles HTML generation and CSS inlining that wouldn't work naively, requiring a roundtrip server-side render.
Keywords: `maizzle helps`, `emails`, `maizzle`, `helps`, `json blocks`, `json`, `blocks`, `block`
[Read section 11 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/11-why-emails-are-hard-and-maizzle-helps.md)

### 12. JSON block structure and the roundtrip render flow (20:30–27:21 · 5.1 KB)
Frontend generates JSON blocks with type and props; Laravel fetches enriched data (tweet content, video thumbnails), then passes to Maizzle for email HTML rendering.
Keywords: `render`, `json`, `json block`, `block structure`, `roundtrip render`, `render flow`, `block`, `structure`
[Read section 12 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/12-json-block-structure-and-the-roundtrip-render-fl.md)

### 13. Implementing dynamic components (27:21–32:20 · 2.7 KB)
Claude generates initial builder component; Aaron refines JSON structure to wrap non-type/block data in `props` object and uses dynamic components instead of v-ifs.
Keywords: `dynamic components`, `dynamic`, `components`, `implementing dynamic`, `middle column`, `looks`, `go`, `props`
[Read section 13 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/13-implementing-dynamic-components.md)

### 14. Building the Vue editor UI (32:20–38:51 · 4.1 KB)
Three-column Vue editor UI built with component registry for blocks; Tailwind CSS replaces scoped styles; planning Maizzle.js project setup in separate directory.
Keywords: `vue`, `vue editor`, `editor ui`, `ui`, `editor`, `block`, `block wrapper`, `mailzyl`
[Read section 14 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/14-building-the-vue-editor-ui.md)

### 15. Creating the Maizzle.js project and dev server (38:51–43:10 · 3.1 KB)
Aaron Francis: God, it's a good-looking email, isn't it? I didn't write it. It's a good-looking email, though. Um, okay, cool. So we have our email builder working now. That's our email builder. So if...
Keywords: `js project`, `dev server`, `m0mb6`, `dev`, `github`, `maizzle`, `js`, `server`
[Read section 15 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/15-creating-the-maizzlejs-project-and-dev-server.md)

### 16. Replacing JSON debugger with live preview (43:10–47:51 · 3.0 KB)
Drag-and-drop sorting implemented for email blocks; Laravel `/preview` route accepts JSON blocks and uses Node.js process to render via Maizzle.
Keywords: `json`, `replacing json`, `json debugger`, `replacing`, `debugger`, `mazl.js`, `blocks`, `drag`
[Read section 16 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/16-replacing-json-debugger-with-live-preview.md)

### 17. Live rendering emails using Maizzle server (47:52–53:20 · 3.5 KB)
Maizzle components created (heading with H1–H6 sizes); drag-and-drop refined to show stable blue drop indicator and reduce layout shift.
Keywords: `live rendering`, `rendering emails`, `maizzle server`, `rendering`, `emails`, `maizzle`, `server`, `liquid tags`
[Read section 17 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/17-live-rendering-emails-using-maizzle-server.md)

### 18. Real-time email preview inside the app (53:20–1:00:54 · 5.0 KB)
Real-time preview working but jittery; drop zone indicator refined to stay present with opacity 0 unless active, eliminating layout shift.
Keywords: `mazl api`, `real-time email`, `email preview`, `email`, `build.js`, `real-time`, `app`, `vibe coding`
[Read section 18 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/18-real-time-email-preview-inside-the-app.md)

### 19. Drag-and-drop reordering with blue drop indicators (1:00:55–1:13:19 · 6.5 KB)
Drag-and-drop polished with scale transform on dragged element; Maizzle Node path made configurable via ENV variable for different environments.
Keywords: `drag-and-drop reordering`, `blue drop`, `drop indicators`, `drag-and-drop`, `reordering`, `blue`, `indicators`, `build.js`
[Read section 19 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/19-drag-and-drop-reordering-with-blue-drop-indicato.md)

### 20. Markdown block rendering (1:13:19–1:20:16 · 3.5 KB)
Heading component dynamically rendered in Maizzle; CSS inlining discovered to need Tailwind content config to prevent style purging.
Keywords: `markdown block`, `block rendering`, `block`, `markdown`, `rendering`, `build.js`, `node path`, `blocks`
[Read section 20 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/20-markdown-block-rendering.md)

### 21. Tailwind CSS purging fix with inline tokens (1:20:19–1:28:26 · 4.5 KB)
Tailwind tokens preserved by JSON.stringify-ing blocks as fake HTML content in Maizzle config, preventing CSS purge and enabling dynamic class rendering.
Keywords: `tailwind`, `css`, `tokens`, `purging`, `inline`, `css purging`, `purging fix`, `inline tokens`
[Read section 21 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/21-tailwind-css-purging-fix-with-inline-tokens.md)

### 22. Dynamic email preview fully working (1:28:28–1:35:08 · 3.6 KB)
Full email preview working with inlined CSS; builder.vue now shows actual rendered email instead of JSON debugger; debouncing added for preview performance.
Keywords: `email preview`, `email`, `dynamic email`, `preview fully`, `fully working`, `dynamic`, `fully`, `working`
[Read section 22 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/22-dynamic-email-preview-fully-working.md)

### 23. Copy HTML to clipboard (1:35:09–1:44:02 · 4.8 KB)
Copy-to-clipboard button added for rendered HTML; iframe used to sandbox HTML response and prevent rendering issues on subsequent updates.
Keywords: `copy html`, `copy`, `html`, `clipboard`, `debounce`, `paragraph`, `markdown`, `add`
[Read section 23 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/23-copy-html-to-clipboard.md)

### 24. Augmenting blocks with backend data (1:44:03–2:00:25 · 10.3 KB)
Block augmenter registry created to enrich JSON blocks server-side; YouTube augmenter fetches thumbnails from YouTube API (video ID extracted from URL).
Keywords: `blocks`, `augmenting blocks`, `backend data`, `augmenting`, `data`, `backend`, `go`, `maisel`
[Read section 24 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/24-augmenting-blocks-with-backend-data.md)

### 25. Adding the YouTube block with video preview (2:00:25–2:10:14 · 4.8 KB)
YouTube block augmenter implemented and registered; Maizzle Handlebars conditionals used to show video thumbnail; placeholder text removed for clean email output.
Keywords: `youtube block`, `block`, `videoid`, `adding`, `props`, `go`, `looks`, `add`
[Read section 25 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/25-adding-the-youtube-block-with-video-preview.md)

### 26. Final thoughts and how I’ll use this editor every week (2:10:14–2:13:59 · 3.2 KB)
Aaron Francis: Check out my newest video, and then I can add a YouTube video, boom. God, that freaking rules. Um, let's see why. Uh, it just, it just did it wrong. Oh, it doesn't support else tags.
Keywords: `final thoughts`, `thoughts`, `editor`, `enter`, `ai`, `pull`, `newest`, `add`
[Read section 26 verbatim](/videos/vibe-coding-a-visual-email-editor-with-ai-laravel-vue/sections/26-final-thoughts-and-how-ill-use-this-editor-ever.md)

---

## Related on aaronfrancis.com

- [This is a season of Type Two fun](/newsletter/this-is-a-season-of-type-two-fun) *(Newsletter · 2025-08-08 · shared: vibe coding, email editor, vue)*
- [Why Most Developers Overcomplicate Everything w/ Aaron Francis](/podcast/why-most-developers-overcomplicate-everything-w-aaron-francis-855db0fe) *(Podcast · 2025-03-20 · shared: laravel, tailwind, vue)*
- [#33 - Aaron Francis on Fusion, TUIs and Content Creation](/podcast/33-aaron-francis-on-fusion-tuis-and-content-creation-087d6b18) *(Podcast · 2025-02-13 · shared: laravel, vue, claude)*
- [Static site generators & personal websites](/podcast/static-site-generators-personal-websites-knj6zl) *(Podcast · 2023-12-14 · shared: laravel, vue, tailwind)*
- [All Things Livewire with Caleb Porzio](/podcast/all-things-livewire-with-caleb-porzio-8bdcd2a8) *(Podcast · 2023-10-31 · shared: vue, laravel, tailwind)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.
- **[Screencasting.com](https://screencasting.com)** (overview on site: [/courses](/courses)): Practical video course on recording high-quality technical screencasts, lighting, audio, studio setup, and publishing faster.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `vibe coding` ([T-Z](/llms/keywords/t-z.txt)), `email editor` ([D-E](/llms/keywords/d-e.txt)), `ai pair programming` ([A-B](/llms/keywords/a-b.txt)), `laravel` ([K-L](/llms/keywords/k-l.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
