Convert EML to ZIP

Turn EML emails into ZIP. Every file attached to the message, byte for byte under its own name in attachments/, pictures the message shows inline included.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop EML files on the dialor turn it to pick what to do

Every attachment in one ZIP.Each file attached to the email is saved under its own name, byte for byte.

  1. What you get

    One ZIP with every file attached to the message in an attachments/ folder. Each file is byte for byte the same as the attachment, under its own name. Pictures the message shows inline are included.

    An attached message comes out as an .eml file.

  2. Names in the ZIP

    A file without a name is named after its place among the attachments, such as part-3.pdf. When a name is used twice, the copies get -2, -3 and so on before the extension.

    Slashes, backslashes and control characters in a name become underscores.

  3. When it stops

    A message without attachments stops with unsupported_elements, because there is nothing to put in the ZIP. See every EML conversion for the other conversions from EML.

EML and ZIP.What each format is.

The formats

From · EML

Email Message

A single email as sent over the wire. Headers, body and MIME attachments.

Extensions
.eml
MIME type
message/rfc822
Kind
Email
To · ZIP

ZIP Archive

The universal archive. Files and folders in one container with optional compression.

Extensions
.zip
MIME type
application/zip
Kind
Archives

In your code.The same EML to ZIP conversion through the API, for your app or your agent.

terminal
$ cv convert report.eml report.zip
$ cv convert report.eml report.zip

Questions.What people ask about EML to ZIP.

01OF 04

Yes. Pictures the message shows inline are included with the other attachments.

It comes out as an .eml file in the ZIP.

A name used twice gets -2, -3 and so on before its extension, so the files do not overwrite each other.

The message has no attachments. There is nothing to put in the ZIP, so the conversion stops.

More conversions.Other ways in and out of EML and ZIP.