This paper proposes a new cryptographic primitive called conditional identity-based broadcast proxy re-encryption (CIBPRE) that allows a sender to encrypt a message for multiple receivers using their identities. The sender can then delegate a re-encryption key to a proxy to convert the ciphertext into a new one for a different set of receivers, conditioned on a certain attribute. An efficient CIBPRE scheme is presented with constant-sized ciphertexts and keys. Finally, the paper discusses how CIBPRE can be applied to build a secure cloud email system.