'Find a user by their email.'

def by_email(self, email, filters=None, **kwargs):

    filters = self._munge_filters((self.model_class.email == email), filters)
    try:
        return super(UserManager, self).one(filters=filters, **kwargs)
    except exceptions.ObjectNotFound:
        return None
