Added email type to schema validation
Added validation for structured conditions (first cut, not working yet)