Gmail cannot open EML files directly, but you can convert them to a format Gmail accepts or forward the message content manually

An EML file is a saved email message — the kind your computer creates when you export or download an email from Outlook, Thunderbird, or another email program. Gmail's web interface does not have a built-in button to open these files. Instead, you have three working paths: import the EML into a desktop email program that syncs with Gmail, convert the file to a different format, or copy the message content by hand.

The easiest route depends on what you are trying to do. If you need to keep the email in Gmail permanently, importing it into Thunderbird or Outlook and then syncing that program to your Gmail account works fastest. If you just need to read the message once, opening it in Thunderbird (which is free) takes five minutes. If the file is damaged or you only need the text, copying the content manually is your backup plan.

Key Takeaways

  • Gmail itself cannot open EML files, but Thunderbird and Outlook can read them and sync the messages to your Gmail account.
  • Thunderbird is free and the quickest option if you only need to read the email once without storing it in Gmail.
  • To get an EML message into Gmail permanently, import it into Thunderbird or Outlook, then set up IMAP sync with your Gmail account.
  • If the file is corrupted or you cannot install software, you can open the EML file as plain text and copy the message content by hand.

Opening an EML file in Thunderbird to read it quickly

Thunderbird is a free email program that opens EML files in seconds. Download it from mozilla.org/thunderbird, install it, and you do not need to set up an email account to use it — you can open a single file without logging in anywhere.

Once Thunderbird is installed, right-click the EML file on your computer, select Open With, and choose Thunderbird from the list. The email will open in a new window showing the sender, subject, date, and full message body. If the email has attachments, they appear at the bottom and you can save them to your computer. This method works even if the file is partially damaged, because Thunderbird can often recover the readable parts.

Importing an EML file into Outlook and syncing to Gmail

If you use Outlook on your computer, you can import EML files directly. Open Outlook, go to File menu, select Open & Export, then Import/Export. Choose Import from another program or file, select Outlook Data File (.pst), and browse to your EML file. Outlook will convert it and add the message to your inbox.

Once the message is in Outlook, you can sync it to Gmail by setting up IMAP. In Outlook, go to File > Account Settings > Account Settings again, then select your Gmail account and choose Change. Switch the account type to IMAP and enter Gmail's IMAP server details (Outlook will prompt you with these). After syncing completes, the message will appear in your Gmail inbox on the web.

Importing an EML file into Thunderbird and syncing to Gmail

Thunderbird is simpler than Outlook for this task. Open Thunderbird, click the menu button (three horizontal lines) in the top right, select Import, then Mail. Choose Thunderbird as the source (even though you are importing from a file, not another Thunderbird installation), and browse to your EML file. Thunderbird will add it to a local folder.

Next, set up your Gmail account in Thunderbird so the message syncs to the cloud. Click the menu button again, go to Settings, then Account Settings. Click Add Mail Account, enter your Gmail address and password, and let Thunderbird configure IMAP automatically. Once connected, drag the imported message from your local folder into the Gmail inbox folder in Thunderbird. The message will upload to Gmail's servers and appear in your web inbox within a few minutes.

Converting an EML file to PDF or text if you cannot install software

If you cannot install Thunderbird or Outlook, you can open an EML file as plain text using Notepad (on Windows) or TextEdit (on Mac). Right-click the EML file, select Open With, and choose Notepad or TextEdit. The file will display as raw text with email headers at the top (sender, date, subject) followed by the message body.

The headers are hard to read, but the message content is there. You can select and copy the text, then paste it into a Gmail draft to save it. Some online EML viewers (search "open EML file online") will also display the message in a cleaner format, though you should avoid uploading sensitive emails to unknown websites. If the file contains attachments, they will appear as encoded text blocks that cannot be extracted this way — use Thunderbird instead.

Troubleshooting when an EML file will not open

If Thunderbird or Outlook cannot open the file, the EML may be corrupted or incomplete. Try opening it as text first (using Notepad or TextEdit) to see if the message content is readable. If you see garbled characters or the file is very small (under 1 KB), the file is likely damaged and cannot be recovered.

If the file opens but shows only headers with no message body, the email was exported incorrectly from the original program. Check whether the sender has a copy of the original email and can forward it to you instead. If you are trying to import many EML files at once, Thunderbird handles batches better than Outlook — select multiple files during import and Thunderbird will process them together.

Why Gmail does not accept EML files directly

Gmail is a web-based email service, not a desktop program, so it does not have the ability to read files from your computer the way Outlook or Thunderbird do. Gmail can only receive messages through its own compose window or through IMAP sync with a connected email program. This is why the workaround involves using a desktop program as a bridge — the desktop program reads the EML file, and then Gmail receives the message through the normal email protocol.

If you regularly work with EML files, keeping Thunderbird installed is the fastest solution. It opens these files instantly and can sync them to Gmail without extra steps. For one-time use, opening the file in Thunderbird and reading it there takes less time than trying to import it into Gmail.

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 like Thunderbird or Outlook to read the EML file first, then sync it to Gmail through IMAP, or copy the message content by hand into a Gmail draft.

Will importing an EML file into Thunderbird create a duplicate in Gmail?

No, as long as you import it into a local Thunderbird folder first and then move it to your Gmail inbox folder. If you import directly into the Gmail folder, it syncs immediately and appears once. Moving it after import also works — Thunderbird will sync the move to Gmail's servers.

What if the EML file has attachments?

Thunderbird and Outlook both extract and display attachments when you open an EML file. You can save them to your computer by right-clicking each attachment and selecting Save As. When you sync the message to Gmail, the attachments go with it.

Is it safe to use an online EML viewer?

Online tools work, but they require uploading your file to a stranger's server. If the email contains sensitive information (passwords, financial details, personal data), use Thunderbird instead — it runs on your computer and never sends the file anywhere.

Can I convert an EML file to a Gmail backup format?

Gmail does not have a special import format for desktop files. The standard way to back up Gmail messages is to export them as MBOX files (which Thunderbird and Outlook can create), but importing them back requires the same desktop program as a middleman. For permanent storage, syncing through IMAP is more reliable than file conversion.