Installation
Section titled “Installation”pnpm dlx shadcn@latest add pxl-ui/registry/schemas/mailparser
Install the following dependencies:
pnpm add zod
Copy and paste the following code into your project.
Update the import paths to match your project setup.
import type { MailParser } from "@/lib/schemas/pxl/mailparser";const message: MailParser.Message = { ... }API Reference
Section titled “API Reference”Message
Section titled “Message”A MailParser message