Update (10/02/13): just a note to say email functionality is dependent on your system already having this configured, such as installing simplefeatures email notify plugin.
Update (14/12/12): thanks to trurl and dalben for their assistance in testing the script. Thanks to them the script is probably in a decent enough form to be used as-is by others. If someone does use this script and find issues or can help add to it, please post your thoughts. Latest version of the script attached to thi