Remove __pycache__ files, add email_host and remove old code from email function in views