Update function send_email (not complete auto run)

Update function send_email (not complete auto run)