Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision 3f9876e167376128dc69e2fd1ffb3972b02c036a)
+++ Jenkinsfile	(revision d4ba8e912eb0d62f6f461601710d4455f335fd74)
@@ -163,6 +163,4 @@
 	currentBuild.description = "${compiler.cc_name}:${arch_name}${full}"
 
-	echo currentBuild.changeSets
-
 	echo """Compiler 	      : ${compiler.cc_name} (${compiler.cpp_cc}/${compiler.cfa_cc})
 Architecture            : ${arch_name}
@@ -174,4 +172,48 @@
 Silent                  : ${ pSilent.toString() }
 """
+
+
+	//Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
+	//Configurations for email format
+	def project_name = (env.JOB_NAME =~ /(.+)\/.+/)[0][1].toLowerCase()
+
+	def gitLog = 'Error retrieving git logs'
+	def gitDiff = 'Error retrieving git diff'
+	def gitUpdate = 'Error retrieving update'
+
+	try {
+		gitUpdate = gitBranchUpdate(gitRefOldValue, gitRefNewValue)
+
+		sh "git rev-list --format=short ${gitRefOldValue}...${gitRefNewValue} > GIT_LOG"
+		gitLog = readFile('GIT_LOG')
+
+		sh "git diff --stat ${gitRefNewValue} ${gitRefOldValue} > GIT_DIFF"
+		gitDiff = readFile('GIT_DIFF')
+	}
+	catch (Exception error) {}
+
+	def email_subject = "[${project_name} git][BUILD# ${env.BUILD_NUMBER} - ${status}] - branch ${env.BRANCH_NAME}"
+	def email_body = """This is an automated email from the Jenkins build machine. It was
+generated because of a git hooks/post-receive script following
+a ref change was pushed to the repository containing
+the project "UNNAMED PROJECT".
+
+The branch ${env.BRANCH_NAME} has been updated.
+${gitUpdate}
+
+Check console output at ${env.BUILD_URL} to view the results.
+
+- Status --------------------------------------------------------------
+
+BUILD# ${env.BUILD_NUMBER} - ${status}
+
+- Log -----------------------------------------------------------------
+${gitLog}
+-----------------------------------------------------------------------
+Summary of changes:
+${gitDiff}
+"""
+
+	echo email_body
 }
 
