Fixed condition used to trigger notificaiton email

Also made the logging of a 'success' more visible.