Logged expection in import_email script

Using the "," (comma) to handle exceptions is deprecated. You should use the "as" keyword instead.

```python
except Exception as e:
```