add new send message function to inbox library