def opt_in(msg_hash):
 (email, removed) = Email.handler.opt_in(msg_hash)
 if (email and removed):
  _system_email(email, '', Email.Kind.OPTIN)
 return (email, removed)

def opt_in ( msg_hash ) : ( email , removed ) = Email . handler . opt_in ( msg_hash ) if ( email and removed ) : _system_email ( email , '' , Email . Kind . OPTIN ) return ( email , removed )
queues an opt-in email .