'Get one (or all) indexed fields for this mail.'

def get(self, field, default=''):

    field = field.lower()
    if (field == 'subject'):
        return self.get_msg_info(self.index.MSG_SUBJECT)
    elif (field == 'from'):
        return self.get_msg_info(self.index.MSG_FROM)
    else:
        raw = '    '.join(self.get_msg(pgpmime=False).get_all(field, default))
        return (safe_decode_hdr(hdr=raw) or raw)
