add a test file for email type.
add the exception file for unexpectedtype
add the email type file