Thread:Project:Support desk/notification email

I need to send a notification email for every change which occurs on a wiki to all registried users. How can i do this? I tried to use $wgUsersNotifiedOnAllChanges, but it means, that i'll must change this params every time, when i registr. new user.