added a send_message method to notifier