'Remove the given email address from the participant\'s account.
Raises ``CannotRemovePrimaryEmail`` if the address is primary. It\'s a
noop if the email address is not on file.'

def remove_email(self, address):

    if (address == self.email_address):
        raise CannotRemovePrimaryEmail()
    with self.db.get_cursor() as c:
        self.app.add_event(c, u'participant', dict(id=self.id, action=u'remove', values=dict(email=address)))
        c.run(u'DELETE    FROM    emails    WHERE    participant_id=%s    AND    address=%s', (self.id, address))
