def opt_out(msg_hash):
 (email, added) = Email.handler.opt_out(msg_hash)
 if (email and added):
  _system_email(email, '', Email.Kind.OPTOUT)
 return (email, added)

def opt_out ( msg_hash ) : ( email , added ) = Email . handler . opt_out ( msg_hash ) if ( email and added ) : _system_email ( email , '' , Email . Kind . OPTOUT ) return ( email , added )
queues an opt-out email .