diff --git a/faker/providers/internet/__init__.py b/faker/providers/internet/__init__.py
index acdda088..f357f2c7 100644
--- a/faker/providers/internet/__init__.py
+++ b/faker/providers/internet/__init__.py
@@ -75,9 +75,13 @@ class Provider(BaseProvider):
         return string
 
     @lowercase
-    def email(self):
-        pattern = self.random_element(self.email_formats)
-        return "".join(self.generator.parse(pattern).split(" "))
+    def email(self, domain=None):
+        if domain:
+            email = '{0}@{1}'.format(self.user_name(), domain)
+        else:
+            pattern = self.random_element(self.email_formats)
+            email = "".join(self.generator.parse(pattern).split(" "))
+        return email
 
     @lowercase
     def safe_email(self):

NameError: name 'args' is not defined
I'm getting an error using the *args method.

```
fake.email(*args, **kwargs)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'args' is not defined

```
Also can I change the **kwargs with @gmail to get random@gmail.com?


diff --git a/tests/providers/test_internet.py b/tests/providers/test_internet.py
index 555e7975..fe444b5b 100644
--- a/tests/providers/test_internet.py
+++ b/tests/providers/test_internet.py
@@ -14,6 +14,17 @@ from faker.utils import text
 from tests import string_types
 
 
+class TestInternetProvider(unittest.TestCase):
+    """ Tests internet """
+
+    def setUp(self):
+        self.factory = Faker()
+
+    def test_email(self):
+        email = self.factory.email(domain='example.com')
+        self.assertEqual(email.split('@')[1], 'example.com')
+
+
 class TestJaJP(unittest.TestCase):
     """ Tests internet in the ja_JP locale """
 

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio
3.6
tests/requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
coverage==6.2
dnspython==2.2.1
email-validator==1.0.3
execnet==1.9.0
-e git+https://github.com/joke2k/faker.git@891e000f06fbc2f13b16331a5577a8d9952281c6#egg=Faker
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
mock==2.0.0
packaging==21.3
pbr==6.1.1
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
pytest-asyncio==0.16.0
pytest-cov==4.0.0
pytest-mock==3.6.1
pytest-xdist==3.0.2
python-dateutil==2.9.0.post0
six==1.17.0
text-unidecode==1.3
tomli==1.2.3
typing_extensions==4.1.1
UkPostcodeParser==1.1.2
zipp==3.6.0

name: faker
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - coverage==6.2
      - dnspython==2.2.1
      - email-validator==1.0.3
      - execnet==1.9.0
      - idna==3.10
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - mock==2.0.0
      - packaging==21.3
      - pbr==6.1.1
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-asyncio==0.16.0
      - pytest-cov==4.0.0
      - pytest-mock==3.6.1
      - pytest-xdist==3.0.2
      - python-dateutil==2.9.0.post0
      - six==1.17.0
      - text-unidecode==1.3
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - ukpostcodeparser==1.1.2
      - zipp==3.6.0
prefix: /opt/conda/envs/faker

tests/providers/test_internet.py::TestInternetProvider::test_email
tests/providers/test_internet.py::TestJaJP::test_internet tests/providers/test_internet.py::TestZhCN::test_email tests/providers/test_internet.py::TestZhTW::test_email tests/providers/test_internet.py::TestHuHU::test_internet tests/providers/test_internet.py::TestPlPL::test_free_email_domain tests/providers/test_internet.py::TestPlPL::test_tld tests/providers/test_internet.py::TestNlNl::test_ascii_company_email tests/providers/test_internet.py::TestNlNl::test_ascii_free_email tests/providers/test_internet.py::TestNlNl::test_ascii_safe_email tests/providers/test_internet.py::TestArAa::test_ascii_company_email tests/providers/test_internet.py::TestArAa::test_ascii_free_email tests/providers/test_internet.py::TestArAa::test_ascii_safe_email
faker/providers/internet/__init__.py
faker/providers/internet/__init__.py