How to export your emails as .eml, .json, HTML or PDF
Temporary does not have to mean lost. Every email on Temp Mail can be saved in four formats — here is which one to choose and how each works.
Emails on Temp Mail are deleted on a schedule, but nothing stops you from keeping a copy. Open any email and use the Export menu to download it in the format that suits what you need to do next.
The four formats
.eml — the original message
An .eml file is the raw message exactly as our server received it, including every header, the HTML and plain-text parts and all attachments. Open it with Thunderbird, Apple Mail, Outlook or any mail client, or drag it into a mailbox to import it. Choose this format when you need proof of what was sent, or want to keep attachments intact.
.json — for developers and automation
The JSON export contains structured fields: sender, recipient, subject, dates, plain text, sanitized HTML, the detected verification code, extracted links, headers and a list of attachments with their sizes. It is the right choice when another program will read the email.
.html — a self-contained page
The HTML export is a single file with a clean header (from, to, date) and the sanitized message body. It opens in any browser without an internet connection. Remote images are not embedded, so the file stays small and private.
.txt — plain text
Just the text of the message with a short header. Ideal for pasting into notes or a ticket.
Print or save as PDF
Choose Print / Save as PDF from the same menu. The email opens in a clean, print-friendly page and your browser's print dialog appears. Pick "Save as PDF" as the destination to get a PDF on any platform.
Exporting a whole mailbox
From the mailbox menu (the three-dot button next to your address), choose Export all as ZIP. You receive a zip archive containing one .eml file per email plus a manifest.json listing every message. You can also select several emails in the inbox and export just those.
File names
Every export is named so it sorts naturally: date, time, sender domain and subject, for example 2026-08-26_1412_github-com_your-verification-code.eml.
Attachments
Attachments are downloaded from the email view individually, or included inside the .eml file. Files are served with a safe content type, so your browser will never try to execute them.