can you build a python system that can auto unzip all the .zip file in ./unzip file and each of the .zip inside have one .xml file and one .pdf file, after unzip make a function for each of the unziped folder, first check the .xml file in each of xml the format is like
<submission>
<data>
<applicant>
<fsd>aaa</fsd>
</applicant>
</data>
</submission>,
and the fsdlist = [ [“aaa","aaa@email.com”], [“bbb’,'bbb@email.com”], [“ccc”, “ccc@email.com” ] ]
find the fsd inside the <fsd></fsd> then check the data inside the <fsd></fsd> if match one of the fsdlist, then send a email with attach file
for example in .xml file <fsd>aaa</fsd> and match the library the first data “aaa” then send a email to “aaa@email.com”
email address with attach the .pdf in the folder.
from email address: example@example.com
from email password: 123456