Simple.  Trump has workers who get the folks at the rally to sign up for emails.  They fillout a survey form for the Trump team.  Then the team can verify their voter registration. All candidates do this.  It's how they expand their voter outreach.