email invite controller