'Given a cursor, email, and packages, return ``None`` or raise.'

def validate_email_verification_request(self, c, email, *packages):

    if (not all(((email in p.emails) for p in packages))):
        raise EmailNotOnFile()
    owner_id = c.one(u'\n                                                SELECT    participant_id\n                                                        FROM    emails\n                                                    WHERE    address    =    %(email)s\n                                                            AND    verified    IS    true\n                                ', dict(email=email))
    if owner_id:
        if (owner_id != self.id):
            raise EmailTaken()
        elif packages:
            pass
        else:
            raise EmailAlreadyVerified()
    if (len(self.get_emails()) > 9):
        if (owner_id and (owner_id == self.id) and packages):
            pass
        else:
            raise TooManyEmailAddresses()
