added basic email sending ability