configure available locales
be less restrictive on emails cause github allows broken ones
fix tests failing for 4.0.2