What an EML file is and why Gmail won't open it directly
An EML file is a saved email message stored in a plain-text format that most email programs can read. Gmail does not have a built-in button to open EML files the way it opens attachments. This happens because Gmail is a web-based service — it does not manage files on your computer the way desktop email programs like Outlook or Thunderbird do.
When you receive an EML file (usually as an attachment or from someone who exported their email), you have three practical routes: convert it to a format Gmail recognizes, import it into a desktop email program and forward it to Gmail, or open it in a text editor to read the message content directly. The route you choose depends on whether you need the email in Gmail permanently or just need to read what is inside.
Key Takeaways
- Gmail cannot open EML files directly because it is a web service, not a desktop program that manages local files.
- The fastest way to read an EML file is to open it in a text editor like Notepad, which shows the message content without conversion.
- To import an EML file into Gmail, use a desktop email program like Thunderbird or Outlook to open the file, then forward the message to your Gmail address.
- Online conversion tools can turn an EML file into a PDF or image, but this does not add the email to Gmail itself.
- If you have many EML files, importing them into Thunderbird first is faster than converting each one individually.
Opening an EML file in a text editor to read it when ready
The simplest way to see what is inside an EML file is to open it with a text editor. Right-click the EML file on your computer, select "Open with," and choose Notepad (Windows) or TextEdit (Mac). The email will display as plain text, showing the sender, subject line, date, and message body all at once.
This method works when ready and requires no software installation. The downside is that the email does not end up in Gmail, and formatted text or images in the original email may not display correctly. If you only need to read the message once or verify its contents, this is the fastest option.
Importing an EML file into Gmail using Thunderbird
Thunderbird is a free desktop email program that opens EML files natively and can send them to Gmail. read Thunderbird from mozilla.org, install it, and open the program. You do not need to set up an email account in Thunderbird to use this method.
Once Thunderbird is open, go to File menu and select "Open" or "Import." Navigate to your EML file and select it. Thunderbird will display the email in its reader. From there, click the forward button (or right-click and select "Forward As"), and send the message to your Gmail address. The email will arrive in your Gmail inbox as a normal message, and you can file it in folders or label it like any other email.
This method preserves the email's formatting and attachments. If you have multiple EML files, you can repeat this process for each one, or use Thunderbird's import feature to bring in entire folders of EML files at once.
Using Outlook to open and forward EML files
If you already have Microsoft Outlook installed on your computer, you can open EML files directly in it. Double-click the EML file, and Outlook will open it in a new window. From there, click "Forward" and send it to your Gmail address.
Outlook preserves all formatting, images, and attachments when you forward. This method works well if Outlook is already your primary email program. If you do not have Outlook installed, Thunderbird is a lighter alternative that accomplishes the same task without requiring a paid subscription.
Converting an EML file to PDF or image format
If you need a permanent record of an email but do not need it searchable in Gmail, you can convert the EML file to PDF or an image. Open the EML file in Thunderbird or Outlook, then use your browser's print function (Ctrl+P on Windows, Command+P on Mac) to print to PDF. This creates a file you can store, share, or upload anywhere.
Online conversion tools also exist that accept EML files and output PDF or image files. These tools do not add the email to Gmail, but they do create a viewable copy. This approach is useful for archiving or sharing a single email without setting up desktop software.
Importing multiple EML files at once
If you have dozens or hundreds of EML files — for example, from a backup or migration — importing them one by one is slow. Instead, create a folder on your computer, place all the EML files inside it, and open Thunderbird. Go to File menu, select "Import," and choose "Mail." Thunderbird will scan the folder and import all EML files into a local folder within the program.
Once imported, you can select all messages in Thunderbird, forward them as a batch to a Gmail address, or export them in a format that Gmail's import tool recognizes. This is significantly faster than opening each file individually. Be aware that forwarding many emails at once may trigger Gmail's spam filters, so space out large batches over a few hours if possible.
Why Gmail does not import EML files directly
Gmail's import tool accepts only a few specific formats — primarily MBOX files (which contain multiple emails) and CSV files (which contain contact information). EML files are single-message files, and Gmail's web interface is not designed to handle file uploads from your computer the way a desktop program is.
This is a limitation of how web-based email works. Gmail prioritizes security and simplicity by not allowing direct file access. Desktop programs like Thunderbird and Outlook have full access to your computer's file system, so they can open EML files without restriction. If you need EML files in Gmail, the workaround is to use a desktop program as an intermediary.
Frequently Asked Questions
Can I drag and drop an EML file into Gmail?
No. Gmail's web interface does not accept file uploads in the compose window. You must use a desktop email program to open the EML file first, then forward it to Gmail, or open it in a text editor to read the contents without importing it.
Will opening an EML file in Notepad show me everything in the email?
Yes, but it will be messy. You will see the sender, subject, date, and message body, but also technical headers and encoding information that most people do not need. If the email contains images or special formatting, those will not display correctly in a text editor.
What if the EML file has attachments?
Attachments are embedded in the EML file as encoded text. Opening it in Notepad will show the encoded data but not the actual file. Use Thunderbird or Outlook instead — both will extract and display attachments properly when you open the EML file.
Is it safe to open an EML file from someone I do not know?
EML files are text-based and cannot execute code, so they are safer than executable files. However, if the email contains a malicious link or attachment, opening it in Thunderbird or Outlook could still expose you to that content. Use the same judgment you would with any email from an untrusted source.
Can I convert an EML file to Gmail's native format?
Gmail does not have a native file format for individual emails. The closest option is to export emails from Gmail as MBOX files, but you cannot reverse the process. Your best option is to import the EML file into Gmail using Thunderbird or Outlook as described above.