week9, day 2: second day of AJAX, add send email functionality from model