Introduce git_diff_format_email and git_diff_commit_as_email