Add method to get last sent message