set up email invitations for friends functionality