'Given a language identifier, set it for the participant as their
preferred language in which to receive email.'

def set_email_lang(self, accept_lang):

    if (not accept_lang):
        return
    self.db.run(u'UPDATE    participants    SET    email_lang=%s    WHERE    id=%s', (accept_lang, self.id))
    self.set_attributes(email_lang=accept_lang)
