notifications sending based on "sent" flag