Nasa emails warned of disaster