mail extensions, naming conventions and login.
some changes