Even though I am not using email related modules in my python Script. I keep on getting this error Saying ImportError: No module named mime.base on EMR. But I am good when running pySpark jobs
If you use an IDE like atom or Notepad, press CTRL + F and enter mime.base
this will find in all your projects where that module is called so you can remove it