include mail function
delete some lines