Feat: Add default PDF layout option as fallback to ENV

This commit is contained in:
Silvia Bigler
2025-01-26 11:47:14 +01:00
committed by shamoon
parent 96d1a43da7
commit 6b398a6c62
7 changed files with 118 additions and 80 deletions

View File

@@ -203,7 +203,7 @@ and watch out for indentation if editing the YAML file.
#### [`PAPERLESS_EMAIL_PARSE_DEFAULT_LAYOUT=<int>`(#PAPERLESS_EMAIL_PARSE_DEFAULT_LAYOUT) {#PAPERLESS_EMAIL_PARSE_DEFAULT_LAYOUT}
: The default layout to use for emails that are consumed as documents. Must be one of the integer choices below. Note that mail
rules can specify this setting, thus this fallback is used for .eml files consumed by other means.
rules can specify this setting, thus this fallback is used for the default selection and for .eml files consumed by other means.
- `1` = Text, then HTML
- `2` = HTML, then text