A 40-year-old man presents to the emergency department with suicidal ideation and a specific plan to hang himself. He has a history of depression but is not currently engaged with mental health services. He denies alcohol or drug use today. What is the most appropriate immediate management?