According to this line, any email address that is linked to a lastuser account will be automatically confirmed, which is basically everyone who applied to the hacknight.

What you need to do is a set intersection between `emails` and `lastuser.user_emails(participant.user)`. If the intersection is non-empty, confirm the account.