added test for saving email as lower-case, modified email regex to not accept '..'