I had the same problem. Both answers helped me solve it.
However, in addition I also had to delete the email.pyc file that was created when the script was run with the old name email.py.
To summarize:
- make sure the email module is installed
- delete the email.pyc file that was created when the script called email.py was run
- rename the script to something else