A 22-year-old university student is brought to the emergency department after expressing suicidal thoughts to a friend. He reports a plan to overdose on tablets at home and feels there is no point in living. He has no psychotic symptoms and has consumed no substances. What is the most appropriate immediate management?