Outlook MSG to JSON: Parse .msg Email Files
Pricing
$2.00 / 1,000 message parseds
Outlook MSG to JSON: Parse .msg Email Files
Parse Outlook .msg email files to JSON: sender, to, cc, bcc, subject, dates, text and HTML body (recovered from RTF), links, headers and attachments, incl. emails attached inside emails. Batch .msg file URLs. For e-discovery, support teams and AI agents. Failed files are never charged.
Pricing
$2.00 / 1,000 message parseds
Rating
0.0
(0)
Developer
Broke to Built
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Outlook MSG to JSON: Parse .msg Email Files
Give links to Outlook .msg files. Get sender, recipients, subject, dates, plain-text and HTML body, links, headers and attachments as clean JSON, one row per file. Emails attached inside emails are parsed too.
.msg is Outlook's binary format (an OLE container, not text), so most email parsers, LLMs and AI agents cannot read it. This Actor turns it into fields you can search, store or hand to a model.
| You give it | You get back | You pay (Free plan) |
|---|---|---|
.msg file URLs, or one file as base64 | from, to, cc, bcc, subject, sentAt, receivedAt, messageId, text, html, links, attachments, nested messages, key headers | $0.002 per message parsed |
Files that are not Outlook messages, downloads that fail, and links to private or internal addresses are written to the dataset with the reason and are never charged.
Try it in one click
Press Start with the form empty. A built-in sample message is parsed for free so you can see the output:
{}
{"ok": true,"source": "sample.msg","subject": "title","to": [{ "name": "to@example.com", "address": "to@example.com" }],"cc": [{ "name": "cc@example.com", "address": "cc@example.com" }],"receivedAt": "2019-03-05T07:22:17.000Z","text": "body","bodySource": "plain","attachmentCount": 0,"attachments": [],"sample": true}
Parse your own files
{"msgUrls": ["https://your-bucket.s3.amazonaws.com/exports/invoice-1042.msg","https://your-bucket.s3.amazonaws.com/exports/re-contract.msg"],"saveAttachments": true}
What it handles
- HTML hidden in RTF. Outlook often stores the HTML body only inside compressed RTF. It is decompressed and recovered, and
textis filled from it when the message has no plain-text body. - Emails attached inside emails (forwarded as attachment), up to 3 levels deep, each with its own sender, recipients, body and attachments. One file is one charge, however many messages are nested in it.
- Attachments: name, MIME type, size, inline flag and content ID. Turn on
saveAttachmentsto get a download link for each file. - Voting buttons, conversation topic, message class (
IPM.Note, meeting requests and so on). - Non-English text (Unicode subjects and bodies).
Who this is for
- AI agents and RAG pipelines that receive
.msgattachments and need the email as fields, not bytes. - Legal, compliance and e-discovery teams working through exported Outlook mail.
- Support and finance teams turning saved emails into tickets, invoices or CRM records.
Input
| Field | What it does |
|---|---|
msgUrls | Public links to .msg files. Up to 500 per run. |
msgBase64 | One .msg file as base64, for callers that hold the file in memory. |
includeHtml | Return the HTML body (default on). |
includeRtfText | Also return the RTF body for rich-text (non-HTML) messages. |
saveAttachments | Save top-level attachments to run storage and return download links. |
maxFileSizeMb | Skip files larger than this (default 25, max 100). |
Output fields
ok, source, fileSizeBytes, messageClass, subject, from, to, cc, bcc, sentAt, receivedAt, createdAt, messageId, conversationTopic, text, html, bodySource (plain, html, rtf or none), links, votingOptions, attachmentCount, attachments[], headers. Failed rows have ok: false and error.
Pricing
Pay per event: $0.002 per .msg file parsed. The free sample and every failed file cost nothing.
Privacy and safety
Files are read in memory for the run and are not kept anywhere except your own run storage. Links that point to private networks, localhost or cloud metadata addresses are refused, on every redirect.
Related
Have .eml files instead? Use our EML to JSON Actor.