Open
Description
Hello,
Himalaya is a neat little program.
It would be nice if himalaya attachment download
worked something like
$ himalaya -o json attachment download 22832
{"22832": [{"name": "A.pdf", "location": "~/Downloads/A.pdf"}]}
instead of
$ himalaya -o json attachment download 22832
"Downloaded 1 attachment!\n"
to allow one to write scripts leveraging himalaya
and jq
that process email attachments1.
I have very limited Rust experience, but I'd be happy to take a look at putting a change together for this.
Footnotes
-
My specific use case is fairly simple. I just need to download and re-send attachments in a different email. I'm trying to use Himalaya to replace much of a Python script used to ease the tedium of filing health insurance claims: https://git.sr.ht/~ani/email-automation/tree/main/item/bcbs_claim_mailer.py. ↩