Parse an .eml E-mail Online

Parse a raw e-mail (.eml / MIME) into JSON: decoded subject and addresses, text and HTML, latest reply, attachments in base64, Received chain and DKIM.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

Send a raw message (an .eml file, a message/rfc822 body or the source as raw) and get clean JSON: subject and names decoded from RFC 2047 (Vietnamese included), from / to / cc / bcc / reply-to as name + address, date in ISO 8601, message id, in-reply-to and references for threading, the plain text and HTML bodies (quoted-printable, base64 and legacy charsets decoded) and every attachment with its file name, MIME type, size, content id and content in base64.

latest_reply cuts the quoted history from the text ("On … wrote:", Gmail Vietnamese "Vào … đã viết:", Outlook "From: / Sent:" blocks and ">" lines), which is what a ticketing system wants to store. The Received chain is parsed (from, by, protocol, IP, time), Authentication-Results gives the SPF / DKIM / DMARC verdicts written by the receiving server, DKIM-Signature headers give domain and selector, List-Unsubscribe is returned for newsletters.

attachments=meta lists attachments without their content, none skips them; files larger than max_attachment_bytes (default 5 MB) are listed without content. Parsing uses postal-mime (MIT-0), the library recommended for Cloudflare Email Workers. Messages are processed in memory and never stored.

Use this in your code

curl -X POST "https://apibox.io.vn/v1/email-parse" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: message/rfc822" \
  --data-binary 'From: =?UTF-8?B?Tmd1eeG7hW4gVsSDbiBBbg==?= <an@gmail.com>
To: support@example.vn
Subject: =?UTF-8?Q?H=C3=B3a_=C4=91=C6=A1n_th=C3=A1ng_11?=
Date: Tue, 10 Nov 2026 09:15:00 +0700
Message-ID: <CAF123@mail.gmail.com>
Authentication-Results: mx.example.vn; dkim=pass header.d=gmail.com; spf=pass; dmarc=pass
Content-Type: text/plain; charset=utf-8

Chào anh, em gửi hóa đơn.

Vào Th 2, 9 thg 11, 2026 lúc 10:00 Hỗ trợ <support@example.vn> đã viết:
> Anh gửi giúp hóa đơn nhé
'

API documentation → Get a free API key

FAQ

Are DKIM signatures verified?

No. The API reports the verdicts the receiving server wrote in Authentication-Results and lists DKIM-Signature domains; use /v1/email-auth to check a domain’s DNS records.

How big can a message be?

Up to the file size of your plan. Attachments over max_attachment_bytes (5 MB by default, 30 MB in total) are listed without content.

Are Outlook .msg files supported?

No, only MIME (.eml). In Outlook, save or forward the message as .eml first.