Added plugin hook before send message