fix mail send time bug