'set name as Email Address'

def autoname(self):

    if (self.get(u'is_admin') or self.get(u'is_guest')):
        self.name = self.first_name
    else:
        self.email = self.email.strip()
        self.name = self.email
