Black holes and thermal Green functions