added ability to sent email