Email Preview Component
Mailpeek is a Vue 3 component that lets you preview HTML emails as they'd appear in Gmail, Outlook, or raw — with device-responsive toggling and metadata extraction.
- Client chrome simulation (Gmail & Outlook UI)
- Mobile/desktop device preview
- Metadata extraction (subject, preview text, file size)
- Zero external dependencies beyond Vue
The component uses iframe sandboxing for email rendering, scoped CSS for Gmail/Outlook chrome simulation, and Vue's Composition API. Built with Vite, tested with Vitest, and published as an ESM/CJS package."