Review customer/<email> endpoint, move into own function