mail Function and logout conform
mail Function and logout conform
Merge https://github.com/anil-ninja/teamroom