Skip to content

Unclear export-eml command #88

@eliluong

Description

@eliluong

Hello, I am using msgvault v0.6.0 on Windows.

I encountered a few issues during email sync: time=2026-02-05T14:41:44.346-08:00 level=WARN msg="MIME parse failed, storing with placeholder" id=12268b8368b179b8 error="Failed to ReadParts: mime: invalid media parameter".

So I exported to try to export to examine:

PS C:\! incoming\msgvault> .\msgvault.exe --config .\config.toml export-eml --gmail-id 12268b8368b179b8                                
Error: unknown flag: --gmail-id
PS C:\! incoming\msgvault> .\msgvault.exe --config .\config.toml export-eml --gmail-id 12268b8368b179b8 -
Error: unknown flag: --gmail-id
PS C:\! incoming\msgvault> .\msgvault.exe --config .\config.toml export-eml 12268b8368b179b8 -           
Error: accepts 1 arg(s), received 2
PS C:\! incoming\msgvault> .\msgvault.exe --config .\config.toml export-eml 12268b8368b179b8  
Exported message to: 12268b8368b179b8.eml (8624 bytes)

The flag --gmail-id does not seem to work, nor sending to stout. This was following the docs: https://www.msgvault.io/usage/exporting/. Eventually, the last command worked, but it exported to a message instead of just printing onto the screen. I think the export commands need to be clarified and updated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions