Former Wales manager Gary Speed sent a text to his wife days before he died in which he "talked in terms of taking his life", an inquest at Warrington Coroner's Court heard today.