Python script for iRedMail which reads the mail

Job ID: 34411603

Budget: ₹600 – ₹1,500 INR

I need a Python script that reads all the incoming mails in my iRedMail for certain keywords. If keywords are found then send those words to 3rd Party API. And after reading the mail and scanning for keywords it should send back mail to my inbox using dovecot LDA command.
Related categories: Python Linux Software Architecture Shell Script