added sending email for appointment