def _send_feedback_thread_status_change_emails(recipient_list, feedback_message_reference, old_status, new_status, exploration_id, has_suggestion):
 can_users_receive_email = email_manager.can_users_receive_thread_email(recipient_list, exploration_id, has_suggestion)
 for (index, recipient_id) in enumerate(recipient_list):
  if can_users_receive_email[index]:
   transaction_services.run_in_transaction(_enqueue_feedback_thread_status_change_email_task, recipient_id, feedback_message_reference, old_status, new_status)

def _send_feedback_thread_status_change_emails ( recipient_list , feedback_message_reference , old_status , new_status , exploration_id , has_suggestion ) : can_users_receive_email = email_manager . can_users_receive_thread_email ( recipient_list , exploration_id , has_suggestion ) for ( index , recipient_id ) in enumerate ( recipient_list ) : if can_users_receive_email [ index ] : transaction_services . run_in_transaction ( _enqueue_feedback_thread_status_change_email_task , recipient_id , feedback_message_reference , old_status , new_status )
notifies the given recipients about the status change .