Node.js
Read local files, uploads, S3/R2 objects, IMAP exports, and other byte sources.
Convert EMLX files to GitHub-Flavored Markdown directly in your browser.
Your EMLX stays on your device. No upload. No account.
Starting local converter
$
npm install @mdgate/email
import { toMarkdown } from '@mdgate/email';
const markdown = await toMarkdown(bytes);
Pure TypeScript, Node.js, Cloudflare Workers, Edge, Browser, No Python, No native addons, No WASM, Zero third-party runtime dependencies
Read local files, uploads, S3/R2 objects, IMAP exports, and other byte sources.
Parse EMLX files directly inside Workers without an email client.
Convert EMLX files locally without uploading them to a server.
Run the same TypeScript converter in compatible Edge runtimes.
No separate processing service. The converter is TypeScript you can call from Node.js, Cloudflare Workers, Edge runtimes, and browsers.
EMLX files can stay inside your application or browser.
Recognizes EMLX files from their contents, not only the filename.
The same EMLX file produces repeatable Markdown without model inference.
No Python. No native addons. No WASM. No third-party runtime dependencies.
Turn EMLX files into content your agent can actually work with.
@mdgate/email
@mdgate/core
+ @mdgate/email
+ @mdgate/pdf
+ @mdgate/docx
@mdgate/converters
Yes. EMLX files can be converted locally in the browser.
Yes. @mdgate/email runs directly in Cloudflare Workers.
No.
No.
GitHub-Flavored Markdown.
Yes. Install @mdgate/email instead of the complete converter set.