README file from
GithubPST Import
Import Outlook PST email archives into Obsidian as Markdown files with metadata, attachments, and wikilinks.
Features
- 📧 Export all emails from PST files as Markdown
- 📁 Preserve PST folder structure (Inbox, project folders, etc.)
- 🖼️ Embedded images auto-convert to Obsidian
![[wikilink]]format - 📎 Save attachments to
attachments/subdirectory - 📋 YAML frontmatter with complete metadata (sender, recipients, date, etc.)
- 🚀 Pure JavaScript single engine (
pst-extractor), no Outlook or external executables required - 📂 Pre-import folder selection (support multi-select/select-all)
Installation
From Obsidian Community Plugins
- Open Obsidian → Settings → Community Plugins → Browse
- Search for "PST Import"
- Click Install
- Enable in installed plugins list
If not yet available in the store, you can use BRAT or manual installation.
Install with BRAT
- Install BRAT plugin
- Add repository:
wenciara/obsidian-pst-importer - Enable PST Import
Manual Installation
- Go to Releases
- Download the latest
main.jsandmanifest.json(andstyles.cssif available) - Place files in vault's
.obsidian/plugins/pst-import/directory - Enable plugin in Obsidian settings
Usage
- Click the email icon 📧 in the left ribbon, or run "Import PST file..." command
- Select a
.pstfile - Select which email folders to import (multi-select available)
- Enter folder name for import destination (defaults to PST filename)
- Wait for import to complete (large files may take a few minutes)
- Imported emails appear in your target directory
Settings
| Setting | Description | Default |
|---|---|---|
| Output Base Directory | Folder in vault to store imports | PST Import |
| Preserve Folder Structure | Create subdirectories for PST folders | Enabled |
| Overwrite Existing Files | Overwrite duplicate email filenames | Disabled |
| Include YAML Frontmatter | Generate metadata headers | Enabled |
Output Structure
vault/
└── PST Import/
└── ArchiveName/
├── Inbox/
│ ├── 2020-07-02_sender_subject.md
│ └── attachments/
│ ├── 2020-07-02_sender_document.pdf
│ └── 2020-07-02_sender_image.jpg
├── Any Topic/
│ └── ...
└── ...
System Requirements
- Obsidian Desktop (
isDesktopOnly) - Obsidian v1.5.0+
Development
# Clone
git clone https://github.com/wenciara/obsidian-pst-importer
cd obsidian-pst-importer
# Install dependencies
npm install
# Development build (watch mode)
npm run dev
# Production build
npm run build
Release Build
GitHub Actions automatically builds releases on tag push:
# Create and push tag
git tag 1.0.1
git push origin 1.0.1
The workflow builds and publishes plugin files (main.js, manifest.json, styles.css).
License
MIT