'Returns a list which contains all mailitems'

def getEmails(self):

    emails = []
    logging.debug('Getting    {0}    emails...'.format(self.getNbOfEmails()))
    for anEmail in self.inbox.Items:
        emails.append(anEmail)
    return emails
