My appologies for taking a while to get back to this. Here is a reroll with the latest suggestions from Luben. Michael Strawbridge (2): send-email: refactor header generation functions send-email: expose header information to git-send-email's sendemail-validate hook Documentation/githooks.txt | 27 +++++++++-- git-send-email.perl | 97 +++++++++++++++++++++++--------------- t/t9001-send-email.sh | 27 ++++++++++- 3 files changed, 108 insertions(+), 43 deletions(-) -- 2.34.1