add manage.py command structure
and add email history to identities view