added mail smtp config plus users based on taskcontrol instead of rest
api by tinp