Force usage of one domain email

Hi, all!

Is it possible to setup (or patch) gitlab to use email only of the specific domain? I need to forbid commits/pushes from any other email except my company email.