Repository navigation
[Show and tell] paperless_attach – attach Paperless-ngx documents from the compose window #10216
dodjango
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built a plugin that integrates Paperless-ngx (a self-hosted document management system) into the compose window: attach documents from Paperless directly while writing an email, instead of downloading and re-uploading them.
Typical use case: replying to an email and attaching a document you already have filed in Paperless — hit "Attach from Paperless", search, pick, send.
What it does
Implementation notes
rcmail->encrypt/decrypt); the browser never sees the token or the Paperless base URL — all Paperless traffic is server-sidemessage_readyhook, so the download-induced session reload does not drop the attachmentInstall:
composer require dodjango/paperless_attachCode & docs (GPL-3.0): https://github.com/dodjango/roundcube-paperless-attach
Feedback welcome — issues and PRs appreciated.
All reactions