added error alert if no email recipients entered