email functionality

email functionality