MDL-40913 core_message: fix triggering the 'message_sent' event when the 'noreply' address is used