United has reached a tentative agreement with flight attendants for a new contract.