again using a temp directory. Replace eshell-command-result with this throughout.
Attach a file by drag & drop or click to upload