send email functionality
merge branch of Wenbo