Skip to content

docs: spec and ticket for returning the MIME tree - #6

Open
fedelemantuano wants to merge 1 commit into
mainfrom
feature/message-structure
Open

fedelemantuano wants to merge 1 commit into
mainfrom
feature/message-structure

Conversation

@fedelemantuano

Copy link
Copy Markdown
Contributor

Summary

Documentation only: the spec and one ticket for returning the MIME tree of a parsed email. No code changes.

 docs/features/
+└── message-structure/
+    ├── spec.md
+    └── issues/01-return-the-mime-tree.md   # Status: needs-triage

The contract the spec proposes:

 POST /api/parse  ->  200
   {
     "mail_parser_version": "...",
-    "message": {...}
+    "message": {...},          # unchanged
+    "mime_tree": [...]         # second JSON document of --stdin --json --mime-tree
   }

Blocked by a mail-parser release that contains SpamScope/mail-parser#188. The spec lists the questions still open: the cap on the tree and the memory limit of the subprocess, with the numbers measured in mail-parser.

Evidence

  • Documentation only: the pre-commit hooks (mdformat, markdownlint) pass on the two files.

Merge Danger

Door: two-way

Blast Radius: documentation

The patch_release label is there because CI requires one release label: the merge publishes a patch release with no code change.

🤖 Generated with Claude Code

@fedelemantuano fedelemantuano added the patch_release Bug fix or patch version bump label Nov 22, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch_release Bug fix or patch version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant