Skip to content

IMAP: add --folders flag for selective folder sync #196

@wesm

Description

@wesm

Context

The IMAP sync added in #193 always syncs all selectable mailboxes. For large accounts with many folders, users may want to sync only specific folders.

Proposal

Add a --folders flag to sync-full (comma-separated list of IMAP folder names). Only the specified folders would be enumerated and fetched. Ignored for Gmail sources.

msgvault sync-full imaps://user@host:993 --folders "INBOX,Sent"

References

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