Invite email_index fix