added automatic email upon invitation