Question: when did jack find out about emily?
Answer: In "Exodus", Jack discovered that Emily had been with Amanda when she died and he got angry with her. Then Sara told him that she was leaving the job. He went to say goodbye to Emily one last time, but he just found Aiden as Emily had been shot.