Delete unnneded print in APIExporter.
Add ALLOWED_HOSTS and EMAIL configuration