fix bug in version err
Log send email duration