integrate gitInfo and sendMail