updated appointment email sending