documents send message functionality