Fix hook_node_insert
Initial port to Drupal 7 for notices_email