joplin / plugin-email

This plugin adds the ability to fetch email messages and converts them to Joplin notes in various formats, either by monitoring any new or unread messages from a specific email address or a specific mailbox, or by uploading downloaded email messages to the plugin without having to be logged in.
29 stars 4 forks source link

Attachments not being retrieved #26

Open chopstik opened 1 year ago

chopstik commented 1 year ago

Hi there I'm using Joplin & the Email plugin on macOS...

Joplin 2.11.11 (prod, darwin)
Sync Version: 3
Profile Version: 43
Keychain Supported: Yes
Revision: 6886f6f
Email Plugin: 1.0.0
macOS theme: 1.3.13
Publish to Web: 1.1.0

Email sent to the specific mailbox I've setup are being polled and received into Joplin as expected. Attachments to the email however - though they are listed and appear to be linked, do not reveal/open the PDF attachment - see attached.

Any reason/fixes I could try to get the attachments to appear?

Screenshot 2023-07-25 at 07 52 16

bishoy-magdy commented 1 year ago

Once you see the attachment name and ID, that means the plugin is successful in adding attachments in Joplin. I tested links in Joplin 2.11, and you are right, links are not clickable. Although links work fine in Joplin 2.9.17 (as a testing environment), you can convert emails to markdown format (in a plugin setting), and it will work fine until I figure out what the problem is.

chopstik commented 1 year ago

I upgraded to Joplin 2.12.9 (prod, darwin) and tested inbound attachment. Plugin set to HTML - same behavior, attachment linked but no file. Switched to Markdown, re-try, and attachment link then opened as expected. Cheers for looking into it. HTML was my preferred import given so many emails come formatted as HTML and importing to Markdown seemed to be a poorer visual representation.