Case Study: See how Formable built DOCX redlining with Apryse in two months

EML and MSG files to PDF

Convert MSG and EML Email Files to PDF

Convert .msg and .eml files to PDF without Outlook, using Server SDK. The output keeps sender, recipients, date, subject, and body, with attachments embedded rather than merged. It's server-only, Windows, Linux, and macOS, not browser or mobile, and doesn't support PST, MBOX, or Azure App Service Windows.

Turn EML and MSG Files into Searchable PDFs

Email conversion in the Server SDK turns .eml and .msg files into PDF using the HTML2PDF module. The output preserves sender, recipients, timestamps, and subject line in full, and keeps multi-message threads readable in their original order rather than flattening them into a single wall of text.

Email rarely arrives alone. A compliance record, a claim file, or a disclosure package needs the message and its attachments to travel together, not as a folder of loose files a reviewer has to reassemble by hand. That's the part manual Outlook-based conversion tends to lose.

Sanity Image

Support Matrix

Email conversion ships inside the Office Conversion add-on (Server SDK 11.12.0 or later) and runs through the same Convert.OfficeToPDF entry point used for DOCX, XLSX, and PPTX. Most EML and MSG files also need the HTML2PDF module binaries installed and their path set before converting; the module itself is required, but no separate HTML2PDF license applies to this path.

Initialize the SDK before any conversion call, as with every Server SDK module. Because EML and MSG have no native page or margin size, set defaults on OfficeToPDFOptions where your output needs a specific size. See the EML/MSG to PDF guide for the full call pattern.

Server SDK
Server SDK details
Where it runs
Self-hosted, your infrastructure. Windows, Linux x64/ARM64, macOS. Not supported on Azure App Service Windows
Required version
Server SDK 11.12.0 or later. Earlier versions have no built-in EML/MSG conversion
Licensing
Office Conversion add-on license. The HTML2PDF module binaries must also be installed for most EML/MSG conversions, but no separate HTML2PDF license is needed
Documentation
Languages
The Server SDK ships bindings for C++, Java, .NET, Node.js, and Python. Start with the get-started guide for your language.

Email Conversion Use Cases

Sanity Image

E-Discovery & Disclosure

Email files with attachments are often the largest share of an e-discovery bundle. Converting to PDF while preserving thread structure and metadata keeps the evidentiary record intact.

Sanity Image

Long-Term Archiving

Email in its native format is a liability ten years out. Converting to PDF, with attachments and headers preserved, keeps the record readable and auditable long after the mail server is gone.

Sanity Image

Case Management

Case files arrive as a mix of scans, Office docs, and email. Normalizing email to PDF alongside everything else means one format to review, redact, and file.

Sanity Image

PII Data Protection

Email threads carry PII in the body, forwarded replies, and attached forms. Converting to PDF first makes the content searchable, so SSNs, account numbers, and other sensitive fields can be found and permanently redacted before the message leaves your organization.

Email Conversion FAQs

Yes. Attachments are bundled inside the resulting PDF and embedded in their original format; PDF attachments are incorporated directly for viewing.

No. This is a Server SDK capability that runs programmatically in your own infrastructure.

Apryse Server SDK support PDF conversion of both .eml and .msg. There are multiple additional file types that can be converted to PDF including PDF/A.

Yes. It requires the Office Conversion add-on license. Most EML/MSG conversions also need the HTML2PDF module installed, but that module doesn't require its own separate license.

Yes, as embedded files inside the output PDF, in their original format. They aren't converted into PDF pages or merged into the document body automatically.

No. Conversion runs without Microsoft Outlook, Office interop, or any other external dependency.

Yes, Linux x64 and ARM64, along with Windows and macOS. The one platform exclusion is Azure App Service Windows, which doesn't support the HTML2PDF module most EML/MSG conversions depend on.

Resources

Learn more about Email Conversion to PDF

Sanity Image

Merge PDF File - C# and Java

Sanity Image

How to Merge and Organize PDFs in a PDF SDK

Sanity Image

How to Extend a Case Management in Salesforce Lightning Component

Sanity Image

Merge PDF File - C# and Java

Sanity Image

How to Merge and Organize PDFs in a PDF SDK

Sanity Image

How to Extend a Case Management in Salesforce Lightning Component

Sanity Image

Merge PDF File - C# and Java

Sanity Image

How to Merge and Organize PDFs in a PDF SDK

Sanity Image

How to Extend a Case Management in Salesforce Lightning Component

Get started

Email conversion ships inside the Office Conversion add-on (Server SDK 11.12.0 or later) and runs through the same Convert.OfficeToPDF entry point used for DOCX, XLSX, and PPTX. Get your free trial key at dev.apryse.com or see how it works in the browser by visiting showcase/apryse.com. License keys are confidential; don't commit them to public repositories.