Email details now in constructor. Clearer comments.