Hi, nice to see an opensuse user. I used it for a long time, too. Thanks for testing
About the folder selection at each export: My first thought is something like the "Get Messages" button with a dropdown if you click on the right. I hope there is a way to add that kind of button in an addon and will try to look into that. I would like to keep the "one-click-export" functionality for sure, since it's convenient.
About the mail headers: That should be easily doable. My Thunderbird shows the fields: From, Subject, To, Date+Time. Would that be sufficient for you?
I can reproduce. It's caused by the space. As workaround you could try pro,mail. Anyway, I will make the parsing more robust. I. e. that a space between the tags is ignored.
In general the free text input is not very user friendly, but it was the easiest to implement on the first try.
Just for documentation: Joplin seems to strip spaces at the start and end of tags. The basic export procedure is:
Search for tag " mail" -> no results, since tag " mail" is non-existent
Create tag " mail" -> a tag named "mail" is created in Joplin
Search again for " mail" -> no results, since tag " mail" is non-existent
Create tag " mail" -> fails, because the space is stripped and a tag named "mail" is already existent
Since it isn't the users intention to create a tag with starting spaces, it can stripped in the Thunderbird addon already. So we don't trigger this problem anymore.
Thank you for this. This is one thing I was missing moving from Todoist and Evernote where you could email into the system. Now I just run Thunderbird and Joplin on the same computer and works perfectly!
The folder selection at each export seems to be non-trivial. The "Get Messages" style button is not available for add-ons. An alternative would be an option in the context menu. However, I couldn't figure out how to get a nested context menu. So I didn't implement it for now.
Header information at top of the note: There is now an option to enable the info. The layout is hardcoded for now. I tried Nunjucks and really liked it. The implementation worked, but there is a warning about user defined templates. Not sure if it's a security risk in this case, but I didn't add it for this reason.
I uploaded the add-on in this state to the Thunderbird store. It's waiting for review.
Both seem to be good additions from user perspective. The API uses the name "parent folder", but for the user that naming isn't very helpful. I will try to include the changes in the next release. Thanks for the feedback!
Just a question of usage after a few weeks. I realize that many times I don't need the recipient part of the subject line because I have that information in the header table.
Do you think it would be interesting/useful to provide an option to not have this info in the title anymore? Or maybe with a great regular expression in "trim" it is possible?
it would be useful to have this option. In fact, I experimented previously with Nunjucks and got a PoC working. It would allow the user to define how the note title and body would look and which parts of the email they include. However, there is a security warning for user defined templates, which is why I didn't implement it, yet. Currently I'm waiting for feedback from the add-on reviewer. If there is positive feedback from the add-on reviewer, I will implement it and prepare a new version for testing.
The "trim regex" only operates on the email subject. The other parts of the note title are hardcoded. So it's unfortunately not possible to remove the recipient.