Skip to content

Pst item storage structure - #4

Merged
cursor[bot] merged 2 commits into
masterfrom
cursor/pst-item-storage-structure-5980
Feb 15, 2026
Merged

Pst item storage structure#4
cursor[bot] merged 2 commits into
masterfrom
cursor/pst-item-storage-structure-5980

Conversation

@eSlider

@eSlider eSlider commented Feb 15, 2026

Copy link
Copy Markdown
Owner

Extend PST import to store contacts as .vcf, calendars as .ics, and notes as .txt, aligning with the existing .eml storage structure.

This change leverages go-pst's Appointment and Contact property structs. Appointment subjects and bodies are extracted via PropertyContext. Sticky notes (IPM.StickyNote) are treated as messages and saved as .txt files if their folder path includes "note". The storage structure for these new item types mirrors that of .eml files.


Open in Cursor Open in Web

- Contacts exported as vCard 3.0 with FN, N, ORG, EMAIL, TEL, ADR, BDAY
- Appointments exported as iCalendar 2.0 with VEVENT
- Notes (Message items in folders containing 'note') exported as plain text
- Same storage structure as .eml: {checksum}-{id}.{ext} in folder hierarchy
- readpst fallback counts .vcf/.ics/.txt when present
- Update tests to count all extracted file types

Co-authored-by: Andrey Oblivantsev <eslider@gmail.com>
@cursor

cursor Bot commented Feb 15, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: Andrey Oblivantsev <eslider@gmail.com>
@cursor
cursor Bot marked this pull request as ready for review February 15, 2026 11:10
@cursor
cursor Bot merged commit 48d1e54 into master Feb 15, 2026
5 checks passed
@cursor
cursor Bot deleted the cursor/pst-item-storage-structure-5980 branch February 15, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants