Add configurable options for email validation (length and valid chars)

Merged phareous requested to merge mlong/validateoptions into master

Merge request reports