get schedule fix and SendMail fixed.