emails-html-to-pdf
emails-html-to-pdf copied to clipboard
Store Documents locally
Hi,
would it be possible to add an option to store the converted PDFs locally instead of sending them via SMTP again? I deployed this container in my Paperlass Compose stack and would like to store the documents directly in the import folder (shared folder) for paperless.
Alternatively we could post the document directly to the paperless api.
I like the paperless API idea.
I also really like the API idea. I'll take a read of the paperless docs in the coming days.
Saving to disk would also be easy, I'm happy to implement that too.
Ok note to self, here is the docs for the relevant api
https://paperless-ng.readthedocs.io/en/latest/api.html#posting-documents