import random FIRST = ["james","michael","robert","david","william","richard","joseph","thomas","charles","daniel","matthew","anthony", "mark","donald","steven","paul","andrew","joshua","kenneth","kevin","brian","george","edward","ronald","timothy", "jason","jeffrey","ryan","jacob","gary","nicholas","eric","jonathan","stephen","larry","justin","scott","brandon", "benjamin","samuel","gregory","alexander","frank","patrick","raymond","jack","dennis","jerry","tyler","aaron", "mary","patricia","jennifer","linda","elizabeth","barbara","susan","jessica","sarah","karen","nancy","lisa", "margaret","betty","sandra","ashley","dorothy","kimberly","emily","donna","michelle","carol","amanda","melissa", "deborah","stephanie","rebecca","sharon","laura","cynthia","kathleen","amy","angela","shirley","anna","brenda", "pamela","emma","nicole","helen","samantha","katherine","christine","debra","rachel","carolyn","janet","catherine"] LAST = ["smith","johnson","williams","brown","jones","garcia","miller","davis","rodriguez","martinez","hernandez","lopez", "gonzalez","wilson","anderson","thomas","taylor","moore","jackson","martin","lee","perez","thompson","white", "harris","sanchez","clark","ramirez","lewis","robinson","walker","young","allen","king","wright","scott","torres", "nguyen","hill","flores","green","adams","nelson","baker","hall","rivera","campbell","mitchell","carter","roberts"] def gmail(): f = random.choice(FIRST); l = random.choice(LAST) style = random.random() if style < 0.45: box = "%s.%s%d" % (f, l, random.randint(11, 9999)) elif style < 0.75: box = "%s%s%d" % (f, l, random.randint(11, 9999)) else: box = "%s.%s.%s" % (f, l[0], random.randint(11, 999)) return box + "@gmail.com"