Fix support for send document links and attachments