Hi,
My last python project was about to unlock password protected excel files. Your project seems interesting, i've done similar in google sheets with js/apps script. Where and how are your emails stored? Which version of python do you use?
Thanks,
Dominik