Email logging.
Fix function name.
Move completely wrong pruning botch.
Fix job error handling.
Tweak the reminder email.