Program that extracts To, From and Body from an email using a regex algorithm