Add pre-commit hook for conditionally changing email address.