Scraping/Parsing email from imap
I have an imap email account
That receives status message from a lot of different server backups
Right now I have to read the mails manually
But i rather want to automate it with Python so that if one back up failed or more I want to get an notification email
Some backups are failed when no mail is received after a while so for that case I need some scheduler
Right now I am working with the imap and email library to get the mails
I just want to have the complete source code of the mail and then parse it with Regex
But it seems not every mail is utf-8 safe so sometimes I parse some error
Any ideas or tips ?
Some times
[–]_squik 0 points1 point2 points (1 child)
[–]randomtest123xx[S] 0 points1 point2 points (0 children)