check for valid option object
check for valid object
Merge pull request #819 from snowkeeper/email

Email check for valid option object