The line of code that throws Could not run curl-config: [Errno 2] No such file or directory” when installing pycurl on Linux, should inform the user as to remedy - a pre-requisite, rather than leaving them to test their google skills.
Try the xlrd library.
From what I can see from your comment, something like the snippet below might do the trick. I'm assuming here that you're just searching one column for the word 'john', but you could add more or make this into a more generic function.
https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
https://pypi.python.org/pypi/xlrd/0.6.1
xlrd description
Extract data from...
Now that you have your SMTP connection set up and authorized your app with Google, you can finally use Python to send email with Gmail
We are writing Python code using Vim, and every time we want to run my code, we type this inside Vim