Skip to content

Add spool retention and inspection policies #8

@Its-donkey

Description

@Its-donkey

Summary

Introduce retention and management capabilities for stored messages under ./data/spool.

Motivation

Messages persist indefinitely and can accumulate without bounds. Providing configurable retention windows, size limits, or basic management APIs/tools will prevent unbounded growth and simplify reviewing stored artefacts.

Proposed direction

  • Expose env vars or config files for retention duration, maximum total size, or per-recipient limits.
  • Optionally add inspection or cleanup tooling (CLI or API) to list and purge stored messages.
  • Ensure changes integrate cleanly with existing storage hashing and permissions.

Labels

  • feature
  • storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProduct feature requeststorageStorage/spool management

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions