getAllSentMessages and deleteOutmessage fixes/additions