Using GitLab SAML authentication without an email provided

I would like to use GitLab with OmniAuth authentication. Unfortunately my IdP provides only user_id, no email. So is it possible to use it instead of email? In GitLab given user_id could be assigned as ‘Username’ field.