Mass outflows from T Tauri stars and their interaction with the environment