Solved the create group function except mail functionality