epost_read_storage_document
Retrieve metadata for one stored ePost document—sender, subject, type, date, amount, folder—and optionally save it as PDF/EML. Classify archived letters when only "Gescannter Brief" is shown.
Instructions
Open one Storage document and report what the portal knows about it: the real sender/subject line, document type, date, amount and current folder. The card list only ever shows "Gescannter Brief", so this is the only way to classify an archived document. Pass output_dir to also save the document: the PDF, or the e-mail (.eml) for a letter that came through IncaMail. Over the API the document is resolved against a listing of at most limit — the reply says so when that window came back full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| limit | No | how much of Storage to resolve against (API only, default 1000) | |
| title | No | ||
| folder_id | No | ||
| letter_id | No | ||
| output_dir | No | save the document here as well (.pdf, or .eml for an e-mail) |