[api] include some headers in the build fail mail header