Extract summary from $params in notify_user()

Style issue: Let's define $params and pass it in just like we do $body.