'Set name as `email_account_name` or make title from Email Address.'

def autoname(self):

    if (not self.email_account_name):
        self.email_account_name = self.email_id.split(u'@', 1)[0].replace(u'_', u'    ').replace(u'.', u'    ').replace(u'-', u'    ').title()
    self.name = self.email_account_name
