add hyphen character to domain part for email validation

Fixes #306