Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No emails processed with newer versions of Joplin #30

Closed
djvreeman opened this issue Jan 1, 2024 · 4 comments
Closed

No emails processed with newer versions of Joplin #30

djvreeman opened this issue Jan 1, 2024 · 4 comments

Comments

@djvreeman
Copy link

I've been using this email plugin successfully for several months. Around version 2.12.19 of Joplin (I'm not exactly sure of the version), it stopped being able to process any emails from the selected folder. Authentication to the email server works fine.

In the logs, everything looks ok:
PluginService: "Loading plugin from /Users/dvreeman/.config/joplin-desktop/cache/Bishoy.EmailPlugin"
joplin.plugins: "Finished running onStart handler: Bishoy.EmailPlugin (Took 3289ms)"

However, there are a few issues in the Dev Tools Console output -- I can't determine their significance:

Screenshot 2024-01-01 at 6 45 08 PM
@chopstik
Copy link

chopstik commented Jan 9, 2024

Similar issue to #28

@djvreeman
Copy link
Author

After more investigation and writing a python script to do similar email processing as this plugin, I've discovered that the issue was on problematic email in the queue. That email hangs the plugin and kills the processing for all subsequent ones.

So what looked like an issue with a new Joplin version was really just stuck on a particularly formatted (or ill-formatted) message. I can't tell exactly what about the message causes the plugin (and processing with python's BeautifulSoup library) to hang (it does have the deprecated

tags). But the problem is not as described here, so I am closing this ticket.

@chopstik
Copy link

chopstik commented Jan 9, 2024

Any chance you could post a gist of the Python script you used to check the email @djvreeman? Be great to see if its an email that's causing the issues I'm seeing with email retrieve.

@djvreeman
Copy link
Author

In case it's helpful, here's a link to my python script for processing unread messages in an IMAP inbox folder and turning them into Joplin notes. It reads the IMAP and Joplin API info from a config file, an example of which is here..

As I mentioned above, this script too dies on the problematic email in my queue, but it allowed me to figure out what was going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants