[Hooks] We are more lenient with email addresses.
[Hooks] Use @alloy's extracted commit import code in the Hooks controller.