A 19-year-old university student presents to the emergency department saying he has collected pills and intends to take them tonight. He has a history of prior suicide attempt and currently expresses hopelessness but is cooperative. Which is the most appropriate immediate management?