Extract name/address pairs from an RFC 2822 style address list.

        For addresses without a display name, the name defaults to the
        local-part for the purpose of importing.

        @type addresses: unicode
        @return: a list of C{(name, email)} tuples

def _parseAddresses(addresses):
        """
        Extract name/address pairs from an RFC 2822 style address list.

        For addresses without a display name, the name defaults to the
        local-part for the purpose of importing.

        @type addresses: unicode
        @return: a list of C{(name, email)} tuples
        """
        def coerce((name, email)):
            if len(email):
                if not len(name):
                    name = email.split(u'@', 1)[0]  # lame
                return (name, email)
        coerced = map(coerce, getaddresses([addresses]))
        return [r for r in coerced if r is not None]