Delete after IMAP Processing
first of all, amazing piece of software that I just discovered recently. I installed and set up version 3.1 about two weeks ago, including an IMAP subfolder as a SOURCE. After checking the subfolder, downloading and processing any mails, the mails would be deleted. This fit perfectly with my workflow.
However, after updating to 3.2 (which was troublesome, I tried to concurrently upgrade to python3, which didn't work, i reverted back to python2), emails are not deleted anymore after downloading them. The next time the IMAP SOURCE is checked, they are downloaded and processed again, leading to duplicates of the attached documents in the database.
Is there any way to make sure that (i) emails are deleted after download or (ii) Mayan recognizes duplicates and does not add them to the database?
Thank you! Sammy