Added email output, requireEmail switch