I would like to know if anyone ever encountered this situation :
We need to replace the email domain name because our organization changed its name.

Is there a tool that would allow a mass search and replace of @domainname1.com to @domainname2.com for all email addresses matching the @domainname1.com criteria.

If no tools exists, anyone has come up with a script that would allow us to do that ?

Thank you for your help.