fixed syntax error in fetch_emails.py