Modular send message with global functions