See bug#206901. The perl hooks only require p5-Error, and the other two modules (which bring in a half dozen other modules) are only used for git-send-email(1).
This patch adds a SEND_EMAIL option (which auto-enables the PERL option) and conditionalizes the git-send-email script installation.