def email(random=random, *args, **kwargs):
    """
    Return an e-mail address

    >>> mock_random.seed(0)
    >>> email(random=mock_random)
    'onion@bag-of-heroic-chimps.sexy'
    >>> email(random=mock_random)
    'agatha-incrediblebritches-spam@amazingbritches.click'
    >>> email(random=mock_random, name="charles")
    'charles@secret.xyz'

    """
    if 'name' in kwargs and kwargs['name']:
        words = kwargs['name']
    else:
        words = random.choice([
            noun(random=random),
            name(random=random),
            name(random=random)+"+spam",
        ])
    return _slugify(words)+"@"+domain(random=random)
Return an e-mail address

    >>> mock_random.seed(0)
    >>> email(random=mock_random)
    'onion@bag-of-heroic-chimps.sexy'
    >>> email(random=mock_random)
    'agatha-incrediblebritches-spam@amazingbritches.click'
    >>> email(random=mock_random, name="charles")
    'charles@secret.xyz'