How do I convert .partial.emlx files to .eml with their attachments?

Updated 2026-11-24 · By EmlxRescue

A .partial.emlx file is an Apple Mail message without its attachments; the attachments are separate files in a folder named Attachments. To get a complete .eml, each attachment has to be encoded and written back into its place in the message. EmlxRescue does that in the browser for a whole Mail folder, and writes .eml files or one .mbox per mailbox.

What .emlx and .partial.emlx files are

Part of the fileWhat it holds
First lineThe number of bytes of the message, as text, padded with spaces. For example 44126.
The messageExactly that many bytes: the email as it was received, headers and body. Cut out and saved on its own, it is an .eml file.
Property listA short XML list written by Mail, with keys such as date-received, flags and remote-id.

In a .partial.emlx, the parts that were attachments still have their headers (file name, type, encoding), but their content is gone, and a header line X-Apple-Content-Length stands in its place.

Where Mail keeps the attachments

Next to the Messages folder there is an Attachments folder. Inside it: a folder with the number of the message, then a folder with the number of the part, then the file.

FileWhat it is
lists.mbox/…/Data/1/Messages/1498.partial.emlxMessage 1498 of the mailbox “lists”, without its attachment.
lists.mbox/…/Data/1/Attachments/1498/3/Report.pdfThe content of part 3 of message 1498.

A part inside another part has a number with a dot, such as 2.4. When the headers of a part give no file name, the folder of that part holds a single file, and that file is the attachment.

About finding the folder, Apple’s help page says: “To get to the Mail folder on a Mac, click the desktop to make sure you’re in the Finder, press and hold the Option key, choose Go > Library, then select the Mail folder.” Source: Apple Support, “Import or export mailboxes in Mail on Mac”, read on November 24, 2026. In a copy of your user folder it is the same place: Library, then Mail.

What Apple’s own export does

Apple’s help page says: “Mail can import email messages that have been exported in mbox format from other email apps” and “You can export mailboxes in mbox format.” The export is a command in Mail: “Select one or more mailboxes, then choose Mailbox > Export Mailbox.” It needs a Mac where Mail still opens those mailboxes. The same page says Mail can import “a folder in the ~/Library/Mail/ folder on another Mac”, so with a working Mac you can try that first.

With only the files, on a Windows PC or with no Mail to open them, the files have to be converted.

Step by step

  1. Copy the Mail folder from your backup to a disk your computer can open.
  2. Open EmlxRescue and drop the folder on the page, or press “Choose folder”. Pick a folder that holds both Messages and Attachments: the whole Mail folder, one account, or one .mbox folder.
  3. Look at the list: mailboxes, messages, partial messages, attachments found and missing. Click a message to see its headers and text.
  4. Download: one .mbox per mailbox, all of them in a ZIP, or a ZIP of .eml files. Download report.csv to see every attachment that was put back or is missing.

Do it in your browser

Drop your Mail folder. EmlxRescue reads it on your computer and writes standard files with the attachments put back. Nothing is installed and nothing is uploaded. Free: reading everything, the full report, and converting the first 25 messages of each mailbox. $9 once for everything.

Convert my mail

mbox or eml

OutputWhat you get
.mboxOne file per mailbox with every message, one after another. Each message starts with a line “From sender date”, where the date is the one Mail recorded as received. Lines end in LF, and a “>” is put before any line that starts with “From ” (the mboxrd convention).
.eml in a ZIPOne file per message, in a folder per mailbox, named with Mail’s number: Inbox/1498.eml. A plain .emlx gives exactly the bytes Mail stored.
report.csvEvery attachment of every partial message (put back or missing), and every file that could not be read.

How an attachment goes back in

The conversion follows the open-source command-line tool partial-emlx-converter by Philipp Katz (MIT license), and we used its sample files to check the result.

Limits

FAQ

Can I just rename .emlx to .eml?

No. An .emlx has a line with a number before the message and a property list after it. The .eml is the part in between. For a .partial.emlx, the attachments also have to be put back.

My .partial.emlx files have no Attachments folder. What then?

The messages are converted with their text, and the attachments stay empty. EmlxRescue lists each one in the report with the folder where it was expected, so you can look for that folder in another copy of your backup.

Is there a free tool for this?

Yes: partial-emlx-converter is free and open source. It runs from the command line and its page says it is installed with Homebrew or npm. EmlxRescue runs as a web page and also writes mbox.

More questions on the home page.