Added the email permission
Moving from appengine to heorku.
Cleaned files.