Added enum for email type