Added option to send email to specific user or group