Omkar008 commited on
Commit
eb31ef2
1 Parent(s): fdd0913

Update get_gmail_data.py

Browse files
Files changed (1) hide show
  1. get_gmail_data.py +1 -1
get_gmail_data.py CHANGED
@@ -182,7 +182,7 @@ class GmailDataExtractor:
182
 
183
  return subject, body,None , company_from_gmail
184
 
185
- def extract_domain_from_email(self,email):
186
  # Extracting the email address using regex
187
  email_address = re.search(r'[\w\.-]+@[\w\.-]+', email_string).group()
188
 
 
182
 
183
  return subject, body,None , company_from_gmail
184
 
185
+ def extract_domain_from_email(self,email_string):
186
  # Extracting the email address using regex
187
  email_address = re.search(r'[\w\.-]+@[\w\.-]+', email_string).group()
188