adds import of email class and settings to application