More generic duration and email validation