add data access object and send email