Added a feature to locate the note in the notebook and add tags through the email subject.
Added a few unit tests for the above feature.
Next week
dealing with the subject of an email written in RTL languages and extracting folders and tags.
keep adding the unit tests for the function that extracts folders and tags from the email subject.
I will make the changes based on the polls.
add "export type and include attachments" features in the upload email screen.
Make changes according to the feedback on my PR.
Demo
This demo shows how to locate the note only by mentioning @folder or tag #tag in the subject of the email.
I would love to get your opinion on three things .
First
There are different ways of presenting the email attachments at the bottom of the note.
I'm going to show you two ways. Please tell me which one you think is better.
first: presenting attachments in the table (file name, link)
second: just using link <a></a> in HTML or [] in markdown
Do you mean after converting it to a note putting the subject to the first line in the note, or do you want the location of the note to be determined based on the first line in the email?
If the first, frankly, I was planning to remove all @ folders or # tags from the subject to be subject clear in Joplin as Evernote does.
If the second, sure, I can add this feature, but I think it will not be elegant.
tbh, this feature is in my mind, and others like setting a time for the note based on email and other.
But there are features that should be added, like monitoring a specific mailbox, multi-user accounts, and coding review. After finishing these, I will work on it.
I mean it could be selectable in the options if you want it either link in HTML or in markdown as
can make notes quite a clutter if there a lot of attachments.
I my opinion it should be selectable as it really depends on the source / use case.
You have written the code anyway, so only the "option" has to be added.
Yes i think @Imperial_Squid was thinking about that...
Of course, we can do it by hand but I was thinking of a more automatic process at the time of import.
I don't recommend that as it there are different use-cases. I have emails with few sentences but plenty of attachments as information/references. The text is the important thing, not the attachment, so I don't want the attachment to take up space more than absolutely necessary.
There are other emails, which say, look at attached image x and image y, in that case, I want them as HTML.
There might be other use-cases. You should think about them and may ask for others. A poll can help to identify the use-case(s) which happen most.
Don't forget, you don't want to exclude the others (40%) to provide as the majority (60%) say, I want this. You should ask yourself what about the uses, which don't use my product...
I would use both, as done before, for the time being. We should to the UI clean-up at the end of the project.
Okay, the extract function is already built, so no problem. I will add this feature.
I added full control to the note in the upload email files screen.
Check in the demo in this week's report
The two styles that were suggested in the poll have already been added to, and the highest selection percentage will be the default option.
I added the attachments style in the upload email files screen as well as in the plugin settings.
If there is any change in the email files upload screen, please let me know. Keeping in mind, that I will also add the "marking note as to-do" feature to the screen.
thx