I need a script to automate to read incoming emails, edit certain parts each time and then forward the email on to a new recipient. I guess it would work like this:
1. Forward certain messages to certain email address.
2. Script reads the HTML of the email and changes the same portion each time with new data.
3. Send on to specified recipient.
Please advise if this is at all possible and how it can be achieved.