email pattern class added to hold patterns