if not (isinstance(to, principals.Principal) and to.valid):
        raise ValueError("{!r} does not consented to email.".format(to))