Hi gmayor, thank you for the links, those look very useful.

What I am looking for is exactly the script on here, but instead of it just removing the first email I need to it extract all the email addresses in the body of the email.
This script seems to stop after it gets the first email address.

Thank you for your help.