Add support for sending new messages without javascript