Add flag for turning on email test