Email customer details hook 2

new PR for #6490