epost_download_letter
Download scanned letters from the Swiss ePost digital letterbox by index or ID, saving them as PDF files to a chosen directory.
Instructions
Download one letter to output_dir, addressed by list index or by letter_id. Returns the saved path (YYYY-MM-DD_ePost_.pdf), written 0600.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| letter_id | No | instead of index; needs the public API | |
| output_dir | Yes |