Sustainability of Digital Formats: Planning for Library of Congress Collections |
|
![]() |
|
Introduction | Sustainability Factors | Content Categories | Format Descriptions | Contact |
Full name | Apple Mail Email Format |
---|---|
Description |
Apple Mail Email Format (EMLX) is a file format specific to Apple Mail, the default mail application on macOS also known as Mac Mail, used to store individual email messages as plain text files. These files are commonly located in the ~/Library/Mail/Mailboxes/ directory within the Mailbox (MBOX) folder structure. Developed by Apple, EMLX is a proprietary variation of the open standard Electronic Mail Format (EML). There is no published formal standard. The Apple Mail application employs the EMLX format for exporting emails. While Apple Mail is the primary creator of EMLX files, other applications can open and convert these files into various formats. Comments welcome. The structure of an EMLX file is composed of three main parts:
This structure allows for the encapsulation of an entire email message, with MIME format handling the email content and the plist providing additional metadata. The bytecount at the beginning indicates the size of the email content. Each message is stored as an individual EMLX file. The plist blob within the EMLX file includes a "flags" field, represented by an integer. Decoding this integer provides valuable information about the email, such as its read status, whether it has been forwarded, if it's marked as junk, and more. For a detailed breakdown of the flag values and their meanings, refer to the information provided on jwz blog post "emlx flags?". Comments welcome. |
Production phase | Used for content in initial (by message authors), middle (by archives) or final state (by message recipients/other end users). |
Relationship to other formats | |
Modification of | EML, Email (Electronic Mail Format). Email (Electronic Mail Format). EMLX is very closely related, technically, to EML format. |
Affinity to | MBOX, MBOX Email Format |
Must have component | Plist. Apple Property List. See specification and PRONOM for more. Not separately documented at this resource at this time. |
LC experience or existing holdings | The Library of Congress includes EMLX files in its collections, especially in the Manuscripts and Music Divisions as well as other personal papers repositories. |
---|---|
LC preference | See the Library of Congress Recommended Formats Statement for format preferences for email. |
Disclosure | EMLX is proprietary and closed. There is little documentation. |
---|---|
Documentation |
About Mac Mail, from the Harvard Library Technical Services website, is the most reliable source for EMLX information. EMLX has no official documentation and very little unofficial documentation. Comments welcome. |
Adoption | Used by all Apple Mail installations. Apple Mail is the native mail application for macOS, both desktop and phone, since 2005. |
Licensing and patents | Proprietary to Apple. Apple licenses and certifies specific third party products and workflows. No known licensing or patents. Comments welcome. |
Transparency | Very transparent. EMLX is a plain text file, readable with basic text tools. |
Self-documentation |
EMLX files include basic metadata in a file header as well as flags for specific content. Comments welcome |
External dependencies | EMLX requires Apple Mail or a text editor to open. EMLX files are not meant to be manually opened, however, they are capable of being manually opened. |
Technical protection considerations | None. |
Tag | Value | Note |
---|---|---|
Filename extension | emlx |
Although created for Apple Mail, there is no official citation or reference to the format from Apple. The format is not mentioned in any press releases for Mac OS Tiger. There are many references to EMLX files in the Apple user support forums and elsewhere online. About Mac Mail, from the Harvard Library Technical Services website, is the most reliable source for EMLX information. |
Uniform Type Identifier (Mac OS) | com.apple.mail.emlx |
See: https://www.wikidata.org/wiki/Q119582504. |
Pronom PUID | See note. | PRONOM has no corresponding entry as of January 2024. |
Wikidata Title ID | Q119582504 |
See: https://www.wikidata.org/wiki/Q119582504. |
General |
Although created for Apple Mail, there is no official citation or reference to the format from Apple. The format is not mentioned in any press releases for Mac OS Tiger. There are many references to EMLX files in the Apple user support forums and elsewhere online. Comments welcome. There are scripts available in Ruby and Python for working with and converting EMLX to MBOX. Each EMLX file created is named with an incrementing number. Example: ~/Library/Mail/Mailboxes/inbox.mbox/Messages/ 5521.emlx 5522.emlx 5523.emlx Attachments are encoded within the message of the EMLX file. |
---|---|
History |
This format was introduced in 2005, in Mail version 2, with the Mac OS X Tiger (10.4) operating system. Fileformat.com states that "Mac OS X operating system adopted the existing email program, NeXTMail, created by NeXT as part of the NeXTSTEP operating system. Apple after acquiring NeXT uplifted its features and it became the now Apple Mail email application to be used as default mail client. Emails exported via Apple Mail are directly saved as EMLX files. In addition, it is the default mail client for EMLX files when someone opens these by double-clicking on Mac OS." |
|