I think it'd be good to call this `notify_received_message` (or something similar) rather than just `notify`.  `notify`, on its own, is too generic, IMO -- notify of what?