I need an addon (or a filter) to do the following things, on all emails that are stored in a Thunderbird folder:
For each email:
1- Create a directory on the hard disk (path should be set in the extension parameters), the directory name will be the email sender's address.
2- In this directory, save all the considered email attached files. Extensions that can be saved should be set in the extension parameters.
3- In this directory save the sender's IP address as a file named "[login to view URL]" if "126.96.36.199" is the sender's IP address. If the sender's IP is hidden, just do not do anything.
4- In this directory save the email sending date as a file name "[login to view URL]" if the mail has been sent on October 10th, 2018
If the destination folder (sender's email address) already exists, add all attached files (by keeping all those that are already in the folder), update the DATE (.dat) file, and update yje IP (.ip) file.
(Update = replace the old one by the new one)
Finally flag the mail using the original Thunderbird tag system (the selected tag number that will be used should be set in the extension parameters).