Your comments

It worked great, but I had to remove the ; right before the closing script tag - Thanks!

No, honestly I was looking for a way to send notifications separately for private channels

like a specific private forum would send notifications to email1@address.com
And another private forum would send notifications to email2@address.com