

def gen_email(name=None, domain=None, tlds=None):
    'Generates a random email address.\n\n    :param str name: Email name.\n    :param str domain: Domain name.\n    :param str tlds: Top Level Domain Server\n    :returns: An email address.\n    :rtype: str\n\n    '
    if (name is None):
        name = gen_alpha(8)
    if (domain is None):
        domain = gen_choice(SUBDOMAINS)
    if (tlds is None):
        tlds = gen_choice(TLDS)
    email = '{0}@{1}.{2}'.format(name, domain, tlds)
    return _make_unicode(name)

dataset/ETHPy150Open omaciel/fauxfactory/fauxfactory/__init__.py gen_email/VarMisuse@89/199 `email`->`name`