add email option but some problem in email sending