Updated mail config with generic settings
Readding UI login features