searching for a script in OS X

I look for a Script, which filters all email addresses from an incoming
mail and then automatically sent away a certain email to all these addresses.

please help

I don’t think you need an AppleScript for that. What you describe is a standard feature in most modern email clients.

Check the options in your mail client for mail filters or actions.