Extract summary from $params in notify_user()

Do we need the old example at all? If anything it should go after the recommended way, right?