735 owner cant leave project

closes #735 
this isn't about this code exactly but it's double checking `email_msg`, can you clean this up?

replacing from line 433:

```python
email_msg = data.get('email_msg')
if email_msg:
    ... [whatever is below line 436] ...
```