Refactor send_notifications to have shorter lines.
Convert alerts to deal with multiple aberrant data frames.