Adding validation to only send email if there is at least one reciepient