email functionality implimentation; Still need UI though