Shouldn't you check this before the plugin actually runs? Just seems wasteful to have the plugin execute and then not send the message