wenjunzhu208 downloadsImport Outlook PST email archives as Markdown files with metadata, attachments, and Obsidian wikilinks. Supports PST files of any size (including >2GB Unicode PST) via pure JavaScript.
✨ 中文
📁 一次性归档: 将 Outlook 的历史 PST 文件一次性导入 Obsidian,转为可搜索、可链接的 Markdown 知识库内容。
🔄 持续同步: 通过维护一个轻量的 staging PST,将新邮件持续同步到 Obsidian,接入 AI 插件(如 Claudian 等)进行处理——适用于不使用 Microsoft Copilot 的场景。
🚀 English
📁 One-time archive: Import a historical Outlook PST file into Obsidian and convert it into searchable, linkable Markdown content in your knowledge base.
🔄 Ongoing sync: Maintain a lightweight staging PST to continuously sync new email into Obsidian, then process it with AI plugins such as Claudian — an alternative for workflows where Microsoft Copilot is not in use.
中文:
English:
中文:
wenciara/obsidian-pst-importerEnglish:
wenciara/obsidian-pst-importer中文:
main.js、manifest.json 和 styles.css.obsidian/plugins/pst-import/English:
main.js, manifest.json, and styles.css from Releases.obsidian/plugins/pst-import/| 中文 | English | |
|---|---|---|
| 📧 | 将 PST 邮件转为 Markdown 笔记 | Convert PST emails into Markdown notes |
| 🔄 | 增量同步,自动跳过已导入邮件 | Incremental sync with duplicate protection |
| 📁 | 保留 PST 文件夹层级结构 | Preserve PST folder structure |
| 🖼️ | 内嵌图片自动转为 ![[wikilink]] |
Embedded images become Obsidian wikilinks |
| 📎 | 附件保存至本地 vault 目录 | Attachments saved alongside notes |
| 📋 | 生成含发件人、日期等字段的 YAML 元数据 | YAML frontmatter with full email metadata |
| 🚀 | 纯 JS 引擎,无需安装额外工具 | Pure JavaScript engine, no external tools |
| 📂 | 可选择性导入指定邮件文件夹 | Choose which PST folders to import or sync |
中文:
.pst 文件English:
.pst file推荐目录示例 / Recommended folder names:
Email/Archive 2024·Projects/Client A/Mail·People/Team History
中文:
.pst 文件,设置输出目录English:
.pst and set the output folder推荐目录示例 / Recommended folder names:
Email/Current·Work/Inbox Mirror·Ops/Daily Mail
中文: 只显示含有邮件的文件夹;系统文件夹(联系人、日历、任务等)默认排除;子文件夹以路径形式展示,如 Inbox/ProjectA。
English: Only folders containing emails are shown. System folders (Contacts, Calendar, Tasks, etc.) are excluded by default. Subfolders appear as paths, e.g. Inbox/ProjectA.
中文: 采用流式读取,没有硬性文件大小限制。Outlook 2003 以后生成的 Unicode PST 均可导入。
English: Uses a streaming reader with no hard file-size limit. Unicode PST files from Outlook 2003 and later are fully supported.
| 文件大小 / Size | 预期耗时 / Expected time |
|---|---|
| < 1 GB | 5 分钟内 / Under 5 minutes |
| 1–5 GB | 15–45 分钟 / 15–45 minutes |
| 5–20 GB | 数小时,建议隔夜 / Hours, best overnight |
| > 20 GB | 可行,但大附件多时有内存压力 / Feasible, watch memory with large attachments |
💡 大文件建议 / Tip for large archives: 在 Outlook 中将文件夹单独导出为小 PST,再分批导入,按项目、年份或发件人拆分效果最佳。
In Outlook, right-click a folder → Export → Outlook Data File (.pst) to export individual folders as smaller files, then import each one separately.
| 设置 / Setting | 说明 / Description | 默认 / Default |
|---|---|---|
| Output Base Folder | 新导入的默认父路径 / Default parent path for new imports | (空 / empty) |
| Mirror Folder Structure | 保留 PST 文件夹层级 / Preserve PST subfolder structure | ✅ 开启 |
| Overwrite Existing Files | 重新导入时覆盖已有笔记 / Replace existing notes on re-import | ❌ 关闭 |
| Include YAML Frontmatter | 在笔记顶部添加元数据 / Add metadata header to each note | ✅ 开启 |
| Sync Profiles | 配置增量同步的 PST 路径 / Configure PST paths for incremental sync | (无 / none) |
vault/
└── Email Archive/ ← 导入时自定义的文件夹名 / folder name you choose
├── Inbox/
│ ├── 2024-03-15_001_Alice_Project kickoff.md
│ └── attachments/
│ ├── proposal.pdf
│ └── logo.png
├── Inbox/ProjectA/
│ └── 2024-04-02_003_Bob_Re - timeline.md
└── Sent Items/
└── ...
文件名格式 / Filename pattern: date_index_sender_subject.md
MIT