It seems ok to me @Nirjonadda if you only need to allow popular email providers (you don't have any of the Russian ones - mail.ru or yandex)
Some reads you might find interesting:
https://help.yahoo.com/kb/SLN2153.html (same with hotmail AFAIK)
I have added some more Domain extensions, Let me know all are correct?
mac.com me.com googlemail.com Gmail.de gmail.pl gmail.ru yahoo.co.uk yahoo.fr live.com msn.com