complete data submit,and then send email