Skip to content

FEAT: Implement server-side rules/filters #652

@andrinoff

Description

@andrinoff

Is your feature request related to a problem? Email filtering only possible via plugins. No server-side rules. Cannot auto-organize mail across clients.

Describe the solution you would like:

  • Create rules UI in settings
  • Conditions: from/to/subject/body matches
  • Actions: move to folder, mark read, flag, delete
  • Store rules on IMAP server (Sieve protocol)
  • Fall back to local rules if Sieve unavailable
  • Execute rules on new mail arrival

Describe alternatives you have considered: Client-side plugins (current). Server-side rules work across all clients.

Additional context:

  • Requires Sieve protocol implementation
  • Files: new sieve/ package, tui/settings.go, fetcher/
  • Must handle servers without Sieve support
  • Complex rule DSL parsing
  • Complexity: Very High - protocol + parser + UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions