Opens .eml files in a clean, readable view with decoded headers and body. Edit the subject and it saves back in proper MIME-encoded format.
What It Does
When you open any .eml file in VS Code, instead of seeing raw encoded text like =?UTF-8?B?4LiB4Liy4Lij...?=, you see a clean email view with:
Decoded Subject — readable text in any language (Thai, Chinese, Japanese, etc.)
From / To / Date / Reply-To — all decoded and formatted
Email Body — decoded from Base64 or Quoted-Printable
Edit Subject button — click to edit, saves back encoded so the .eml file stays valid
Features
Clean Email View
Opens .eml files in a formatted email viewer that matches your VS Code theme. No more reading raw MIME headers.
Edit Subject
Click the ✏️ Edit Subject button or double-click the subject to edit it. Press Enter or click Save — the subject is encoded back in =?UTF-8?B?...?= format and saved to the file.
Full Encoding Support
Base64 (=?UTF-8?B?...?=)
Quoted-Printable (=?UTF-8?Q?...?=)
Multi-line folded headers
All Unicode languages
Usage
Install the extension
Open any .eml file — it automatically opens in the email viewer
To edit the subject: click ✏️ Edit Subject, modify the text, press Enter
The file is saved with the subject properly encoded
To see the raw .eml file, right-click the file → Reopen Editor With... → Text Editor.
Requirements
VS Code 1.85.0 or higher
No additional dependencies
Known Issues
Only the Subject field is editable. Other header fields are display-only.
DKIM signatures will be invalidated when the subject is modified (expected behavior).
Release Notes
1.0.0
Initial release with custom email viewer and subject editing.