Email templates for microsites

As for hte domain thing, it's not obvious from that code that get_domain returns anything but a string, so perhaps that should be commented. Alternatively (additionally), something like:

```python
if domain in [[0], None]:
    return None
else:
    # blah
```

Seems as though it'd be more obvious than the current try/except block.