It's just a matter of configuring both values as identities for the customer. One would be the email address identity and the other the username identity.
Are you accepting a different username other than email address and customer number at this moment?