Add functionality to retrieve sent message