Adds length support for email string + tests

When using a predefined domain, sometimes the word generated before @ has already been generated before. 

This adds a length support to decrease the chance of having two same emails when calling the method repeatedly (tests).