Added 'getAllSentMessages' command to API