updates to the mail reminder script