Implement send invite mail again for users who have pending invite process
Refactor all inivitations webscripts