figured out email schema